From 0c7c2d44b12edcaabb54593c58ba175e5807c244 Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Sun, 7 Jan 2024 00:00:18 -0600 Subject: [PATCH] fix test issue related to validation text --- tests/acceptance/signup_tests.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/acceptance/signup_tests.rb b/tests/acceptance/signup_tests.rb index 81ea876d..8dc0ad38 100644 --- a/tests/acceptance/signup_tests.rb +++ b/tests/acceptance/signup_tests.rb @@ -109,10 +109,10 @@ describe 'signup' do _(page).must_have_content 'Usernames can only contain' fill_in 'username', with: 'nope-' click_signup_button - _(page).must_have_content 'A valid user/site name is required' + _(page).must_have_content 'Usernames can only contain' fill_in 'username', with: '-nope' click_signup_button - _(page).must_have_content 'A valid user/site name is required' + _(page).must_have_content 'Usernames can only contain' end it 'fails with username greater than 32 characters' do