Shush rubocop.
This commit is contained in:
parent
49688d399a
commit
076749645a
|
@ -65,13 +65,13 @@ feature 'Users', feature: true, js: true do
|
|||
@username_field = find '#new_user_username'
|
||||
end
|
||||
|
||||
scenario 'shows an error border if the username already exists', focus: true do
|
||||
scenario 'shows an error border if the username already exists' do
|
||||
fill_in username_input, with: user.username
|
||||
wait_for_ajax
|
||||
expect(@username_form_group).to have_css '.gl-field-error-outline'
|
||||
end
|
||||
|
||||
scenario 'doesn\'t show an error border if the username is available', focus: true do
|
||||
scenario 'doesn\'t show an error border if the username is available' do
|
||||
fill_in username_input, with: 'new-user'
|
||||
wait_for_ajax
|
||||
expect(@username_field).not_to have_css '.gl-field-error-outline'
|
||||
|
|
Loading…
Reference in New Issue