test/airbrake_tasks_test.rb in airbrake-3.0.9 vs test/airbrake_tasks_test.rb in airbrake-3.1.0
- old
+ new
@@ -69,11 +69,11 @@
context "on deploy(options)" do
setup do
@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
before_should "use the project api key" do