Skip to content
Browse files

Merge pull request #3934 from bogdanvlviv/patch-2

change call deprecated method confirm! to confirm in test
2 parents beb8cc8 + d3fa531 commit f0c39e08ca05b328f71d7d145468e841b0142b2e @carlosantoniodasilva carlosantoniodasilva committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/models/confirmable_test.rb
View
2 test/models/confirmable_test.rb
@@ -256,7 +256,7 @@ def setup
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

0 comments on commit f0c39e0

Please sign in to comment.
Something went wrong with that request. Please try again.