Skip to content

Commit 3045532

Browse files
authored
Merge pull request #6714 from rubyforgood/lint-fix-feb-2026
bundle exec standardrb --fix spec/models
2 parents c8bb896 + 3a1eeb8 commit 3045532

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/models/case_contact_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
end
3939

4040
it "verifies occurred at is not in the future" do
41-
case_contact = build_stubbed(:case_contact, occurred_at: Time.current + 1.week)
41+
case_contact = build_stubbed(:case_contact, occurred_at: 1.week.from_now)
4242
expect(case_contact).not_to be_valid
4343
expect(case_contact.errors[:occurred_at]).to eq(["can't be in the future"])
4444
end

0 commit comments

Comments
 (0)