Shush rubocop.

This commit is contained in:
Bryce Johnson 2016-09-27 14:54:15 +02:00
parent 49688d399a
commit 076749645a
1 changed files with 2 additions and 2 deletions

View File

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