Commit 19876314 authored by Kyle Fuller's avatar Kyle Fuller
parent 284c6e1e
......@@ -75,13 +75,13 @@ module Pod
end
it 'links the pod targets with the aggregate integration library target' do
@xcconfig.to_hash['OTHER_LDFLAGS'].should.include '-l "Pods-BananaLib"'
@xcconfig.to_hash['OTHER_LDFLAGS'].should.include '-l"Pods-BananaLib"'
end
it 'does not links the pod targets with the aggregate integration library target for non-whitelisted configuration' do
@generator = AggregateXCConfig.new(@target, 'Debug')
@xcconfig = @generator.generate
@xcconfig.to_hash['OTHER_LDFLAGS'].should.not.include '-lPods-BananaLib'
@xcconfig.to_hash['OTHER_LDFLAGS'].should.not.include '-l "Pods-BananaLib"'
end
#-----------------------------------------------------------------------#
......
......@@ -36,7 +36,7 @@ module Pod
end
it 'includes the libraries for the specifications' do
@xcconfig.to_hash['OTHER_LDFLAGS'].should.include('-l "xml2"')
@xcconfig.to_hash['OTHER_LDFLAGS'].should.include('-l"xml2"')
end
it 'includes the frameworks of the specifications' do
......
......@@ -70,7 +70,7 @@ module Pod
:platform_name => :ios
)
@sut.add_spec_build_settings_to_xcconfig(consumer, xcconfig)
xcconfig.to_hash['OTHER_LDFLAGS'].should == '-l "xml2"'
xcconfig.to_hash['OTHER_LDFLAGS'].should == '-l"xml2"'
end
it 'adds the frameworks of the xcconfig' do
......@@ -165,7 +165,7 @@ module Pod
xcconfig = Xcodeproj::Config.new
@sut.add_library_build_settings(path, xcconfig, config.sandbox.root)
hash_config = xcconfig.to_hash
hash_config['OTHER_LDFLAGS'].should == '-l "Proj4"'
hash_config['OTHER_LDFLAGS'].should == '-l"Proj4"'
hash_config['LIBRARY_SEARCH_PATHS'].should == '"$(PODS_ROOT)/MapBox/Proj4"'
end
end
......
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