Skip to content

Commit

Permalink
Merge af1d19c into 9f03ab9
Browse files Browse the repository at this point in the history
  • Loading branch information
swizzlr committed Nov 14, 2013
2 parents 9f03ab9 + af1d19c commit f6d846f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions spec/unit/generator/xcconfig/aggregate_xcconfig_spec.rb
Expand Up @@ -59,6 +59,13 @@ module XCConfig
expected = "\"#{config.sandbox.public_headers.search_paths.join('" "')}\""
@xcconfig.to_hash['HEADER_SEARCH_PATHS'].should == expected
end

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)
@xcconfig = @generator.generate
@xcconfig.to_hash['OTHER_CFLAGS'].should == expected
end

it 'adds the COCOAPODS macro definition' do
@xcconfig.to_hash['GCC_PREPROCESSOR_DEFINITIONS'].should.include 'COCOAPODS=1'
Expand Down

0 comments on commit f6d846f

Please sign in to comment.