mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-03 23:53:23 +00:00
NameError: uninitialized constant Redmine::ApiTest::GroupsTest::MultiJson
git-svn-id: http://svn.redmine.org/redmine/trunk@15252 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
64b3a1f1e8
commit
5d9b87de3a
@ -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'}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user