test/test_features.rb in heroku-api-0.3.15 vs test/test_features.rb in heroku-api-0.3.16

- old
+ new

@@ -3,11 +3,11 @@ class TestFeatures < Minitest::Test def setup @feature_data ||= begin data = File.read("#{File.dirname(__FILE__)}/../lib/heroku/api/mock/cache/get_features.json") - features_data = Heroku::API::OkJson.decode(data) + features_data = MultiJson.load(data) features_data.detect {|feature| feature['name'] == 'user_env_compile'} end end def test_delete_feature @@ -38,10 +38,10 @@ with_app do |app_data| response = heroku.get_features(app_data['name']) data = File.read("#{File.dirname(__FILE__)}/../lib/heroku/api/mock/cache/get_features.json") assert_equal(200, response.status) - assert_equal(Heroku::API::OkJson.decode(data), response.body) + assert_equal(MultiJson.load(data), response.body) end end def test_get_feature with_app do |app_data|