From 280d6893a41f76c14754d40659307478ada74253 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Villeneuve?= Date: Sat, 9 Dec 2023 18:47:56 +0100 Subject: [PATCH] Cleanup test --- test/statisfy_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/statisfy_test.rb b/test/statisfy_test.rb index 90fde6c..d803456 100644 --- a/test/statisfy_test.rb +++ b/test/statisfy_test.rb @@ -73,7 +73,7 @@ class UserCounter count every: :user_created, scopes: -> { [user.organisation] } end - every_month = (0..24).map do |i| + 25.times do |i| creation_date = (24 - i).months.ago.beginning_of_month between_2_and_5 = rand(2..5)