Commit 325e96fe27ffd21a27ba7bad5f3a4fcfab165877

Authored by Rodrigo Souto
1 parent 64fd315b

invite-controller: fix test

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
test/functional/invite_controller_test.rb
... ... @@ -268,7 +268,7 @@ class InviteControllerTest < ActionController::TestCase
268 268  
269 269 get :search_friend, :profile => community.identifier, :q => 'will'
270 270  
271   - assert_equivalent [{"name" => friend1.name, "id" => friend1.id}].to_json, @response.body
  271 + assert_equivalent [{"name" => friend1.name, "id" => friend1.id}], json_response
272 272 end
273 273  
274 274 should 'invite registered users through profile id' do
... ...