Merge pull request #6756 from betagouv/fix-date_trunc-queries
Revert "refactor date_trunc queries using groupdate gem"
This commit is contained in:
commit
f6bcc48f6e
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue