about summary refs log tree commit diff
path: root/spec/fabricators
diff options
context:
space:
mode:
authorStanislav Dobrovolschii <uusername@protonmail.ch>2023-03-02 10:05:05 +0100
committerGitHub <noreply@github.com>2023-03-02 10:05:05 +0100
commitd9271126ce9f1d270b7e1af9692b4622d987a1af (patch)
tree2047b7434f68fc6ed261a1ab94d5663c3d4a598a /spec/fabricators
parentb6602f68eb0dbe07ee2e9b8fb27ee048037c414e (diff)
Add rspecs for FollowRecommendationsScheduler (#23890)
Diffstat (limited to 'spec/fabricators')
-rw-r--r--spec/fabricators/user_fabricator.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/fabricators/user_fabricator.rb b/spec/fabricators/user_fabricator.rb
index 967347319..9031d5cd0 100644
--- a/spec/fabricators/user_fabricator.rb
+++ b/spec/fabricators/user_fabricator.rb
@@ -5,5 +5,6 @@ Fabricator(:user) do
   email        { sequence(:email) { |i| "#{i}#{Faker::Internet.email}" } }
   password     '123456789'
   confirmed_at { Time.zone.now }
-  agreement    true
+  current_sign_in_at { Time.zone.now }
+  agreement true
 end