Merge pull request #6756 from betagouv/fix-date_trunc-queries

Revert "refactor date_trunc queries using groupdate gem"
This commit is contained in:
mfo 2021-12-16 15:19:55 +01:00 committed by GitHub
commit f6bcc48f6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,7 @@
describe StatsController, type: :controller do describe StatsController, type: :controller do
before { Timecop.travel(Date.parse("2021/12/15")) }
after { Timecop.return }
describe "#last_four_months_hash" do describe "#last_four_months_hash" do
context "while a regular user is logged in" do context "while a regular user is logged in" do
before do before do