Commit 6db98289 authored by Eloy Duran's avatar Eloy Duran

Make spec suite green.

parent 7ee1cbad
...@@ -26,19 +26,11 @@ describe "Pod::Command::Repo" do ...@@ -26,19 +26,11 @@ describe "Pod::Command::Repo" do
end end
describe "Pod::Command::Install" do describe "Pod::Command::Install" do
it "tells the user that the specified podspec file doesn't exist" do
command = Pod::Command::Install.new(argv('/does/not/exist/Some.podspec'))
exception = lambda {
command.run
}.should.raise Pod::Informative
exception.message.should.include "The specified podspec `/does/not/exist/Some.podspec' doesn't exist."
end
it "tells the user that no Podfile or podspec was found in the current working dir" do it "tells the user that no Podfile or podspec was found in the current working dir" do
command = Pod::Command::Install.new(argv) command = Pod::Command::Install.new(argv)
exception = lambda { exception = lambda {
command.run command.run
}.should.raise Pod::Informative }.should.raise Pod::Informative
exception.message.should.include "No `Podfile' or `.podspec' file found in the current working directory." exception.message.should.include "No `Podfile' found in the current working directory."
end end
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