From b11f61b922748949ff0b762ec2aed0558de3c28b Mon Sep 17 00:00:00 2001 From: Azul Date: Thu, 24 Mar 2016 11:36:04 +0100 Subject: test: response is blank - not = ' ' --- test/functional/v1/users_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/functional/v1/users_controller_test.rb b/test/functional/v1/users_controller_test.rb index df59c4d..3f7bad3 100644 --- a/test/functional/v1/users_controller_test.rb +++ b/test/functional/v1/users_controller_test.rb @@ -14,7 +14,7 @@ class V1::UsersControllerTest < ActionController::TestCase assert_equal user, assigns[:user] assert_response 204 - assert_equal " ", @response.body + assert @response.body.blank?, "Response should be blank" end test "admin can update user" do -- cgit v1.2.3