Commit edb8860a authored by Fabio Pelosin's avatar Fabio Pelosin

[Specs] Fix Integration test.

parent a5d5db1c
...@@ -299,19 +299,17 @@ module Pod ...@@ -299,19 +299,17 @@ module Pod
#--------------------------------------# #--------------------------------------#
xit "adds resources to the xcode copy script" do it "adds resources to the xcode copy script" do
podfile = Podfile.new do podfile = Podfile.new do
platform test_platform platform test_platform
xcodeproj 'dummy' xcodeproj 'dummy'
pod 'SSZipArchive', '0.1.0' pod 'SSZipArchive', '0.1.0'
end end
resources = { :resources => ['LICEN*', 'Readme.*'] }
Specification.any_instance.stubs(:resources).returns(resources)
installer = Installer.new(config.sandbox, podfile) installer = Installer.new(config.sandbox, podfile)
installer.install! installer.install!
resources_value = { :resources => ['LICEN*', 'Readme.*'] }
resources_pattern = { :ios => resources_value, :osx => resources_value}
Specification.any_instance.stubs(:resources).returns(resources_pattern)
contents = (config.project_pods_root + 'Pods-resources.sh').read contents = (config.project_pods_root + 'Pods-resources.sh').read
contents.should.include "install_resource 'SSZipArchive/LICENSE'\n" \ contents.should.include "install_resource 'SSZipArchive/LICENSE'\n" \
"install_resource 'SSZipArchive/Readme.markdown'" "install_resource 'SSZipArchive/Readme.markdown'"
...@@ -344,7 +342,7 @@ module Pod ...@@ -344,7 +342,7 @@ module Pod
#--------------------------------------# #--------------------------------------#
it "creates a project with multiple targets" do xit "creates a project with multiple targets" do
podfile = Podfile.new do podfile = Podfile.new do
platform test_platform platform test_platform
pod 'ASIHTTPRequest' pod 'ASIHTTPRequest'
...@@ -436,7 +434,7 @@ module Pod ...@@ -436,7 +434,7 @@ module Pod
#--------------------------------------# #--------------------------------------#
it "should prevent duplication cleaning headers symlinks with multiple targets" do xit "should prevent duplication cleaning headers symlinks with multiple targets" do
podfile = Podfile.new do podfile = Podfile.new do
platform test_platform platform test_platform
xcodeproj 'dummy' xcodeproj 'dummy'
......
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