Browse files

Cleanup

  • Loading branch information...
1 parent 82c75d2 commit ea5331de2dcf5d2e0ecdbf8c7e4dc9d12bee5717 @gabebw gabebw committed Sep 12, 2011
Showing with 2 additions and 1 deletion.
  1. +1 −1 lib/kumade/cli.rb
  2. +1 −0 spec/kumade/deployer_spec.rb
View
2 lib/kumade/cli.rb
@@ -56,7 +56,7 @@ def parse_arguments!(args)
opts.banner = "Usage: kumade <environment> [options]"
opts.on("-p", "--pretend", "Pretend mode: print what kumade would do") do |p|
- @options[:pretend] = p
+ @options[:pretend] = true
end
opts.on_tail("-v", "--verbose", "Print what kumade is doing") do
View
1 spec/kumade/deployer_spec.rb
@@ -31,6 +31,7 @@
subject.deploy
end
+
it "calls post_deploy if deploy fails" do
subject.git.stub(:heroku_remote?).and_raise(RuntimeError)

0 comments on commit ea5331d

Please sign in to comment.