質問編集履歴
1
confirm! -> confirm
test
CHANGED
File without changes
|
test
CHANGED
@@ -74,7 +74,7 @@
|
|
74
74
|
|
75
75
|
user = FactoryBot.create(:user)
|
76
76
|
|
77
|
-
user.confirm
|
77
|
+
user.confirm # or set a confirmed_at inside the factory. Only necessary if you are using the "confirmable" module
|
78
78
|
|
79
79
|
sign_in user
|
80
80
|
|