lib/heroku/api/mock/keys.rb in heroku-api-0.2.2 vs lib/heroku/api/mock/keys.rb in heroku-api-0.2.3

- old
+ new

@@ -14,10 +14,10 @@ { :body => "Key not found.", :status => 404 } end end # stub DELETE /user/keys - Excon.stub(:expects => 200, :method => :delete, :path => %r{^/user/keys}) do |params| + Excon.stub(:expects => 200, :method => :delete, :path => %r{^/user/keys$}) do |params| request_params, mock_data = parse_stub_params(params) mock_data[:keys] = [] { :status => 200} end