From 96c3ec6005fe99f8ca0f1582186376484ef3eee1 Mon Sep 17 00:00:00 2001 From: Michael Webb Date: Tue, 1 Aug 2023 12:30:13 +1000 Subject: [PATCH] Fix timestamp clash --- spec/requests/api/my_predictions_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/requests/api/my_predictions_controller_spec.rb b/spec/requests/api/my_predictions_controller_spec.rb index a1e96fb..9678013 100644 --- a/spec/requests/api/my_predictions_controller_spec.rb +++ b/spec/requests/api/my_predictions_controller_spec.rb @@ -60,7 +60,7 @@ predictions = json_hash['predictions'] expect(predictions.length).to eq 2 - before_judgment_timestamp = Time.now + before_judgment_timestamp = Time.now - 1.second another_prediction.judgements.create!(outcome: true) get url, params: params.merge(page_size: 1, page: 1)