lib/heroku/api/mock/keys.rb in heroku-api-0.1.0 vs lib/heroku/api/mock/keys.rb in heroku-api-0.1.1
- old
+ new
@@ -24,10 +24,10 @@
# stub GET /user/keys
Excon.stub(:expects => 200, :method => :get, :path => %r{^/user/keys}) do |params|
request_params, mock_data = parse_stub_params(params)
{
- :body => Heroku::API::OkJson.encode(mock_data[:keys]),
+ :body => Heroku::API::Mock.json_gzip(mock_data[:keys]),
:status => 200
}
end
# stub POST /user/keys