diff --git a/test/functional/invite_controller_test.rb b/test/functional/invite_controller_test.rb index a8041d1..49653fa 100644 --- a/test/functional/invite_controller_test.rb +++ b/test/functional/invite_controller_test.rb @@ -268,7 +268,7 @@ class InviteControllerTest < ActionController::TestCase get :search_friend, :profile => community.identifier, :q => 'will' - assert_equivalent [{"name" => friend1.name, "id" => friend1.id}].to_json, @response.body + assert_equivalent [{"name" => friend1.name, "id" => friend1.id}], json_response end should 'invite registered users through profile id' do -- libgit2 0.21.2