Commit af1d19c1 authored by Swizzlr's avatar Swizzlr

More descriptive spec

parent 908f6383
...@@ -61,9 +61,10 @@ module Pod ...@@ -61,9 +61,10 @@ module Pod
end end
it 'sets search path as system header given pod warning inhibition' do it 'sets search path as system header given pod warning inhibition' do
expected = "\"-isystem#{config.sandbox.public_headers.search_paths.join('" -isystem"')}\""
@target.target_definition.stubs(:inhibits_warnings_for_pod?).returns(true) @target.target_definition.stubs(:inhibits_warnings_for_pod?).returns(true)
@xcconfig = @generator.generate @xcconfig = @generator.generate
@xcconfig.to_hash['OTHER_CFLAGS'].should.not.be.nil #TODO: fix up with better expectation @xcconfig.to_hash['OTHER_CFLAGS'].should == expected
end end
it 'adds the COCOAPODS macro definition' do it 'adds the COCOAPODS macro definition' do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment