diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-03-17 19:57:59 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-03-17 19:57:59 +0000 |
commit | 5d9b87de3a9df6fcb256efa5f2274845b6050085 (patch) | |
tree | a0b6e087dcad0c4697fca6bc591d7f194d94358a /test/integration | |
parent | 64b3a1f1e8c7f16f85621019788ac0bc09bc3ccf (diff) | |
download | redmine-5d9b87de3a9df6fcb256efa5f2274845b6050085.tar.gz redmine-5d9b87de3a9df6fcb256efa5f2274845b6050085.zip |
NameError: uninitialized constant Redmine::ApiTest::GroupsTest::MultiJson
git-svn-id: http://svn.redmine.org/redmine/trunk@15252 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration')
-rw-r--r-- | test/integration/api_test/groups_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/api_test/groups_test.rb b/test/integration/api_test/groups_test.rb index 0221fd27f..c9f79f242 100644 --- a/test/integration/api_test/groups_test.rb +++ b/test/integration/api_test/groups_test.rb @@ -67,7 +67,7 @@ class Redmine::ApiTest::GroupsTest < Redmine::ApiTest::Base assert_response :success assert_equal 'application/json', response.content_type - json = MultiJson.load(response.body) + json = ActiveSupport::JSON.decode(response.body) groups = json['groups'] assert_kind_of Array, groups group = groups.detect {|g| g['name'] == 'A Team'} |