Skip to content

Commit

Permalink
Fixed a test throwing undefined split for nil class
Browse files Browse the repository at this point in the history
  • Loading branch information
silviusimeria committed May 17, 2017
1 parent c52543a commit c99af19
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit c99af19

Please sign in to comment.