Permalink
Browse files

update url in a test

  • Loading branch information...
1 parent 57dce9a commit 2966b50c1bbfbaa491b4775e83d854f1721cfc34 @shime shime committed May 13, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/airbrake_tasks_test.rb
View
4 test/airbrake_tasks_test.rb
@@ -71,8 +71,8 @@ def unsuccessful_response(body = "")
@output = AirbrakeTasks.deploy(@options)
end
- before_should "post to http://airbrake.io:80/deploys.txt" do
- @http_proxy_class.expects(:new).with("airbrake.io", 80).returns(@http_proxy)
+ before_should "post to http://api.airbrake.io:80/deploys.txt" do
+ @http_proxy_class.expects(:new).with("api.airbrake.io", 80).returns(@http_proxy)
@post.expects(:set_form_data).with(kind_of(Hash))
@http_proxy.expects(:request).with(any_parameters).returns(successful_response)
end

0 comments on commit 2966b50

Please sign in to comment.