Commit 3f7c966d authored by Marius Rackwitz's avatar Marius Rackwitz Committed by Samuel Giddins

[Spec PodTargetInstaller] Check build settings for bundle targets

parent 91f2289b
...@@ -176,6 +176,18 @@ module Pod ...@@ -176,6 +176,18 @@ module Pod
end end
end end
it 'sets the correct product name' do
@bundle_target.build_configurations.each do |bc|
bc.build_settings['PRODUCT_NAME'].should == 'banana_bundle'
end
end
it 'sets the correct Info.plist file path' do
@bundle_target.build_configurations.each do |bc|
bc.build_settings['INFOPLIST_FILE'].should == 'Target Support Files/BananaLib-Pods-SampleProject/ResourceBundle-banana_bundle-Info.plist'
end
end
it 'sets the correct build dir' do it 'sets the correct build dir' do
@bundle_target.build_configurations.each do |bc| @bundle_target.build_configurations.each do |bc|
bc.build_settings['CONFIGURATION_BUILD_DIR'].should == '$CONFIGURATION_BUILD_DIR/BananaLib-Pods-SampleProject' bc.build_settings['CONFIGURATION_BUILD_DIR'].should == '$CONFIGURATION_BUILD_DIR/BananaLib-Pods-SampleProject'
......
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