Commit 9ac5632c authored by Fabio Pelosin's avatar Fabio Pelosin

Specs: fix for changes to Xcodeproj

parent 39fd5fec
...@@ -394,11 +394,13 @@ module Pod ...@@ -394,11 +394,13 @@ module Pod
end end
it "recursively sorts the project" do it "recursively sorts the project" do
Xcodeproj::Project.any_instance.stubs(:recreate_user_schemes)
@installer.pods_project.main_group.expects(:sort) @installer.pods_project.main_group.expects(:sort)
@installer.send(:write_pod_project) @installer.send(:write_pod_project)
end end
it "saves the project to the given path" do it "saves the project to the given path" do
Xcodeproj::Project.any_instance.stubs(:recreate_user_schemes)
path = temporary_directory + 'Pods/Pods.xcodeproj' path = temporary_directory + 'Pods/Pods.xcodeproj'
@installer.pods_project.expects(:save) @installer.pods_project.expects(:save)
@installer.send(:write_pod_project) @installer.send(:write_pod_project)
......
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