Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
rspec uses raise_error
Browse files Browse the repository at this point in the history
  • Loading branch information
ddollar committed Apr 26, 2010
1 parent b0a836c commit cd886c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/client_spec.rb
Expand Up @@ -100,7 +100,7 @@
stub_request(:post, %r{.*/apps/myapp/console}).to_return({
:body => "ERRMSG", :status => 502
})
lambda { @client.console('myapp') }.should raise_exception(Heroku::Client::AppCrashed, "ERRMSG")
lambda { @client.console('myapp') }.should raise_error(Heroku::Client::AppCrashed, "ERRMSG")
end

it "restart(app_name) -> restarts the app servers" do
Expand Down

0 comments on commit cd886c7

Please sign in to comment.