Commit 07674964 authored by Bryce Johnson's avatar Bryce Johnson

Shush rubocop.

parent 49688d39
...@@ -65,13 +65,13 @@ feature 'Users', feature: true, js: true do ...@@ -65,13 +65,13 @@ feature 'Users', feature: true, js: true do
@username_field = find '#new_user_username' @username_field = find '#new_user_username'
end 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 fill_in username_input, with: user.username
wait_for_ajax wait_for_ajax
expect(@username_form_group).to have_css '.gl-field-error-outline' expect(@username_form_group).to have_css '.gl-field-error-outline'
end 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' fill_in username_input, with: 'new-user'
wait_for_ajax wait_for_ajax
expect(@username_field).not_to have_css '.gl-field-error-outline' expect(@username_field).not_to have_css '.gl-field-error-outline'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment