test/airbrake_tasks_test.rb in airbrake-4.3.1 vs test/airbrake_tasks_test.rb in airbrake-4.3.2

- old
+ new

@@ -90,16 +90,10 @@ @post.expects(:set_form_data). with(has_entries("deploy[#{key}]" => "value")) end end - before_should "use the :api_key param if it's passed in." do - @options[:api_key] = "value" - @post.expects(:set_form_data). - with(has_entries("api_key" => "value")) - end - before_should "puts the response body on success" do AirbrakeTasks.expects(:puts).with("body") @http_proxy.expects(:request).with(any_parameters).returns(successful_response('body')) end @@ -123,10 +117,10 @@ end end context "in a configured project with custom host" do setup do - Airbrake.configure do |config| + Airbrake.configure do |config| config.api_key = "1234123412341234" config.host = "custom.host" end end