test/support/auth_stub.rb in yao-0.3.7 vs test/support/auth_stub.rb in yao-0.3.8

- old
+ new

@@ -2,12 +2,12 @@ def stub_auth_request(auth_url, username, password, tenant) stub_request(:post, "#{auth_url}/tokens") .with( body: auth_json(username, password, tenant) ).to_return( - :status => 200, - :body => response_json(auth_url, username, tenant), - :headers => {'Content-Type' => 'application/json'} + status: 200, + body: response_json(auth_url, username, tenant), + headers: {'Content-Type' => 'application/json'} ) end private