summaryrefslogtreecommitdiff
path: root/spec/models
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-09-19 21:15:13 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-09-19 21:15:13 -0400
commit69723d20024821fb4206e899ffa3acd2da690315 (patch)
tree55c9888c6652d9ca0ff78a6b584804cd47aed63e /spec/models
parentce8f78a57168bbacb1320a4dc4e9e79b878221d4 (diff)
downloadgitlab-ce-69723d20024821fb4206e899ffa3acd2da690315.tar.gz
Devise 3.5.x deprecates `confirm!` in favor of `confirm`
Diffstat (limited to 'spec/models')
-rw-r--r--spec/models/user_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb
index eeb9069aa17..480950859a2 100644
--- a/spec/models/user_spec.rb
+++ b/spec/models/user_spec.rb
@@ -188,7 +188,7 @@ describe User do
end
it 'confirms a user' do
- user.confirm!
+ user.confirm
expect(user.confirmed?).to be_truthy
end
end