Skip to content

Commit

Permalink
Merge branch 'fix-broken-specs-due-to-leap-year' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
gbp committed Mar 1, 2024
2 parents 5b9b61c + a0fa947 commit 2232d4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/models/user/survey_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
before do
FactoryBot.create(
:user_info_request_sent_alert,
user: user, alert_type: 'survey_1', created_at: 366.days.ago
user: user, alert_type: 'survey_1', created_at: 367.days.ago
)
end

Expand Down
2 changes: 1 addition & 1 deletion spec/models/user_info_request_sent_alert_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
end

let!(:old) do
FactoryBot.create(:user_info_request_sent_alert, created_at: 366.days.ago)
FactoryBot.create(:user_info_request_sent_alert, created_at: 367.days.ago)
end

it 'can scope to recent sent alerts' do
Expand Down

0 comments on commit 2232d4f

Please sign in to comment.