From 325e96fe27ffd21a27ba7bad5f3a4fcfab165877 Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Wed, 14 Jan 2015 21:09:34 -0300 Subject: [PATCH] invite-controller: fix test --- test/functional/invite_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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