spec/shelly/cli/deploy_spec.rb in shelly-0.4.8 vs spec/shelly/cli/deploy_spec.rb in shelly-0.4.9

- old
+ new

@@ -117,20 +117,23 @@ $stdout.should_receive(:puts).with("pumas up and running") $stdout.should_receive(:puts).with(green "After restart hook") $stdout.should_receive(:puts).with("after restart hook") $stdout.should_receive(:puts).with(green "Whenever") $stdout.should_receive(:puts).with("Looking up schedule.rb") + $stdout.should_receive(:puts).with(green "Running after successful deploy hook") + $stdout.should_receive(:puts).with("after successful deploy hook") end def response { "created_at" => "2011-12-12 at 14:14:59", "bundle_install" => "Installing gems", "whenever" => "Looking up schedule.rb", "thin_restart" => "thins up and running", "puma_restart" => "pumas up and running", "delayed_job" => "delayed jobs", "sidekiq" => "sidekiq workers", "db_migrate" => "rake db:migrate", "after_restart" => "after restart hook", "before_restart" => "before restart hook", - "before_symlink" => "before symlink hook", "before_migrate" => "before migrate hook" + "before_symlink" => "before symlink hook", "before_migrate" => "before migrate hook", + "after_successful_deploy_hook" => "after successful deploy hook" } end end describe "#pending" do