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

Commit

Permalink
Fix type mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwebb76 committed Aug 1, 2023
1 parent b6d8208 commit e04ce55
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 @@ -69,7 +69,7 @@
actor = json_hash['user']
expect(predictions.length).to eq 1
expect(predictions.first['description']).to eq another_prediction.description
expect(predictions.first['last_judgement_at'] >= before_judgment_timestamp).to be true
expect(Time.parse(predictions.first['last_judgement_at']) >= before_judgment_timestamp).to be true
expect(actor['email']).to eq user.email

get url, params: params.merge(page_size: 1, page: 2)
Expand Down

0 comments on commit e04ce55

Please sign in to comment.