Commit 5094ba9a authored by Fabio Pelosin's avatar Fabio Pelosin

[Installer] minor fix

parent 1d273a66
...@@ -112,7 +112,7 @@ module Pod ...@@ -112,7 +112,7 @@ module Pod
installer.podfile_path = config.podfile_path installer.podfile_path = config.podfile_path
installer.install installer.install
run_post_install_hooks run_post_install_hooks
installer.write_pod_project installer.write_project
end end
end end
......
...@@ -276,14 +276,14 @@ module Pod ...@@ -276,14 +276,14 @@ module Pod
it "generates the Pods project" do it "generates the Pods project" do
Installer::PodsProjectGenerator.any_instance.expects(:install) Installer::PodsProjectGenerator.any_instance.expects(:install)
Installer::PodsProjectGenerator.any_instance.expects(:write_pod_project) Installer::PodsProjectGenerator.any_instance.expects(:write_project)
@installer.send(:generate_pods_project) @installer.send(:generate_pods_project)
end end
it "in runs the post-install hooks before serializing the Pods project" do it "in runs the post-install hooks before serializing the Pods project" do
Installer::PodsProjectGenerator.any_instance.expects(:install) Installer::PodsProjectGenerator.any_instance.expects(:install)
def @installer.run_post_install_hooks def @installer.run_post_install_hooks
Installer::PodsProjectGenerator.any_instance.expects(:write_pod_project) Installer::PodsProjectGenerator.any_instance.expects(:write_project)
end end
@installer.send(:generate_pods_project) @installer.send(:generate_pods_project)
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