change call deprecated method confirm! to confirm in test

This commit is contained in:
Bogdan 2016-02-03 22:09:38 +02:00
parent beb8cc8e0b
commit d3fa53151a
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ class ConfirmableTest < ActiveSupport::TestCase
user.instance_eval { def confirmation_required?; false end }
user.confirmation_sent_at = nil
user.save
assert user.reload.confirm!
assert user.reload.confirm
end
end