Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
More descriptive spec
  • Loading branch information
swizzlr committed Nov 14, 2013
1 parent 908f638 commit af1d19c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/unit/generator/xcconfig/aggregate_xcconfig_spec.rb
Expand Up @@ -61,9 +61,10 @@ module XCConfig
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.not.be.nil #TODO: fix up with better expectation
@xcconfig.to_hash['OTHER_CFLAGS'].should == expected
end

it 'adds the COCOAPODS macro definition' do
Expand Down

0 comments on commit af1d19c

Please sign in to comment.