lib/heroku/api/mock/user.rb in heroku-api-0.1.1 vs lib/heroku/api/mock/user.rb in heroku-api-0.1.2
- old
+ new
@@ -4,10 +4,10 @@
# stub GET /user
Excon.stub(:expects => 200, :method => :get, :path => %r{^/user}) do |params|
request_params, mock_data = parse_stub_params(params)
{
- :body => Heroku::API::Mock.gzip(File.read("#{File.dirname(__FILE__)}/cache/get_user.json")),
+ :body => File.read("#{File.dirname(__FILE__)}/cache/get_user.json"),
:status => 200
}
end
end