Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
karlerikounapuu committed Sep 2, 2020
1 parent af9f973 commit a64c15b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/contact_requests_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ def test_request_replay_fails
end
end

def test_opening_link_twice_redirects_you_to_root_with_notice_that_this_link_has_been_used
def test_opening_link_twice_does_not_invalidate_link_if_not_used
visit(contact_request_path(@valid_contact_request.secret))
visit(contact_request_path(@valid_contact_request.secret))

assert(page.has_css?('div#flash-alert', text: 'This one-time link has been already used.'))
assert_text('Message is limited to 2000 characters')
end

def test_request_fails_when_whois_record_was_deleted
Expand Down

0 comments on commit a64c15b

Please sign in to comment.