Skip to content

Commit

Permalink
Apply suggestions
Browse files Browse the repository at this point in the history
Co-authored-by: Brian Austin <[email protected]>
  • Loading branch information
weeklies and brianjaustin authored Oct 30, 2023
1 parent 5adca93 commit cafb1ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/controllers/invite_requests_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@
context "when the email and time are valid" do
let!(:invitation) { create(:invitation) }

it "redirects with an error" do
travel_to (1 + ArchiveConfig.HOURS_BEFORE_RESEND_INVITATION).hours.since
it "redirects with a success message" do
travel_to(1 + ArchiveConfig.HOURS_BEFORE_RESEND_INVITATION).hours.from_now
post :resend, params: { email: invitation.invitee_email }

it_redirects_to_with_notice(status_invite_requests_path,
Expand Down

0 comments on commit cafb1ba

Please sign in to comment.