fix test issue related to validation text

This commit is contained in:
Kyle Drake 2024-01-07 00:00:18 -06:00
parent 8091e3d8c0
commit 0c7c2d44b1

View file

@ -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