diff --git a/spec/controllers/stats_controller_spec.rb b/spec/controllers/stats_controller_spec.rb index 4e9ae2e17..f05cddba1 100644 --- a/spec/controllers/stats_controller_spec.rb +++ b/spec/controllers/stats_controller_spec.rb @@ -1,4 +1,7 @@ describe StatsController, type: :controller do + before { Timecop.travel(Date.parse("2021/12/15")) } + after { Timecop.return } + describe "#last_four_months_hash" do context "while a regular user is logged in" do before do