Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Commit

Permalink
Fix timestamp clash
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwebb76 committed Aug 1, 2023
1 parent e04ce55 commit 96c3ec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/requests/api/my_predictions_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 96c3ec6

Please sign in to comment.