validates uniqueness of username 😭
This commit is contained in:
@@ -4,7 +4,7 @@ module CommonActions
|
||||
visit '/'
|
||||
click_link 'Sign up'
|
||||
|
||||
fill_in 'user_username', with: 'Manuela Carmena'
|
||||
fill_in 'user_username', with: "Manuela Carmena #{rand(99999)}"
|
||||
fill_in 'user_email', with: email
|
||||
fill_in 'user_password', with: password
|
||||
fill_in 'user_password_confirmation', with: password
|
||||
|
||||
Reference in New Issue
Block a user