summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2016-03-24 11:36:04 +0100
committerAzul <azul@riseup.net>2016-05-02 08:28:44 -0300
commitb11f61b922748949ff0b762ec2aed0558de3c28b (patch)
treecbb9066ec000cc853fd0839493b03f4e0493b4fa
parent431ceda256c91980a7c3ac807548eb7c776a09f0 (diff)
test: response is blank - not = ' '
-rw-r--r--test/functional/v1/users_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
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