test/test_addons.rb in heroku-api-0.3.15 vs test/test_addons.rb in heroku-api-0.3.16
- old
+ new
@@ -41,10 +41,10 @@
def test_get_addons
response = heroku.get_addons
data = File.read("#{File.dirname(__FILE__)}/../lib/heroku/api/mock/cache/get_addons.json")
assert_equal(200, response.status)
- assert_equal(Heroku::API::OkJson.decode(data), response.body)
+ assert_equal(MultiJson.load(data), response.body)
end
def test_get_addons_with_app
with_app do |app_data|
response = heroku.get_addons(app_data['name'])