Commit 908f6383 authored by Swizzlr's avatar Swizzlr

Update spec describing failure

parent 9f03ab97
...@@ -59,6 +59,12 @@ module Pod ...@@ -59,6 +59,12 @@ module Pod
expected = "\"#{config.sandbox.public_headers.search_paths.join('" "')}\"" expected = "\"#{config.sandbox.public_headers.search_paths.join('" "')}\""
@xcconfig.to_hash['HEADER_SEARCH_PATHS'].should == expected @xcconfig.to_hash['HEADER_SEARCH_PATHS'].should == expected
end end
it 'sets search path as system header given pod warning inhibition' do
@target.target_definition.stubs(:inhibits_warnings_for_pod?).returns(true)
@xcconfig = @generator.generate
@xcconfig.to_hash['OTHER_CFLAGS'].should.not.be.nil #TODO: fix up with better expectation
end
it 'adds the COCOAPODS macro definition' do it 'adds the COCOAPODS macro definition' do
@xcconfig.to_hash['GCC_PREPROCESSOR_DEFINITIONS'].should.include 'COCOAPODS=1' @xcconfig.to_hash['GCC_PREPROCESSOR_DEFINITIONS'].should.include 'COCOAPODS=1'
......
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