diff options
Diffstat (limited to 'spec/support/helpers/terms_helper.rb')
-rw-r--r-- | spec/support/helpers/terms_helper.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/support/helpers/terms_helper.rb b/spec/support/helpers/terms_helper.rb index a61bae18f9a..2547ea62e37 100644 --- a/spec/support/helpers/terms_helper.rb +++ b/spec/support/helpers/terms_helper.rb @@ -15,7 +15,9 @@ module TermsHelper end def expect_to_be_on_terms_page - expect(current_path).to eq terms_path + expect(page).to have_current_path terms_path, ignore_query: true expect(page).to have_content('Please accept the Terms of Service before continuing.') end end + +TermsHelper.prepend_mod |