test: Make sure tests pass on the weekend
This commit is contained in:
@@ -5,7 +5,7 @@ class User::HighlightsTest < ActiveSupport::TestCase
|
||||
|
||||
setup do
|
||||
@user = users(:david)
|
||||
travel_to 1.week.ago + 2.days
|
||||
travel_to [ 1.week.ago, 1.week.ago + 1.day ].find { |d| !d.sunday? }
|
||||
Current.session = sessions(:david)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user