lib/heroku/api/mock/keys.rb in heroku-api-0.2.6 vs lib/heroku/api/mock/keys.rb in heroku-api-0.2.7

- 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.json_encode(mock_data[:keys]), :status => 200 } end # stub POST /user/keys