test/remote_test.rb in 3scale_client-2.7.0 vs test/remote_test.rb in 3scale_client-2.8.0

- old
+ new

@@ -85,20 +85,20 @@ {:app_id => app_id, :usage => {'hits' => 1}, :log => {:request => "a/a", :response => "b/b", :code => 200 }} end - response = @client.report(*transactions) + response = @client.report(transactions: transactions) assert response.success? end def test_failed_report transactions = @app_ids.map do |app_id| {:app_id => app_id, :usage => {'hits' => 1}} end client = ThreeScale::Client.new(:provider_key => 'invalid-key') - response = client.report(*transactions) + response = client.report(transactions: transactions) assert !response.success? assert_equal 'provider_key_invalid', response.error_code assert_equal 'provider key "invalid-key" is invalid', response.error_message end end