diff --git a/test/controllers/devise_token_auth/passwords_controller_test.rb b/test/controllers/devise_token_auth/passwords_controller_test.rb index 75fa8c518..f3dc394d8 100644 --- a/test/controllers/devise_token_auth/passwords_controller_test.rb +++ b/test/controllers/devise_token_auth/passwords_controller_test.rb @@ -83,9 +83,9 @@ class DeviseTokenAuth::PasswordsControllerTest < ActionController::TestCase @data = JSON.parse(response.body) end - test 'response should not contain extra data' do - assert_equal @data['data'], nil - end + test 'response should not contain extra data' do + assert_nil @data["data"] + end end