diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-10-20 08:28:38 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-10-20 08:28:38 +0300 |
commit | 95d629a1ea20f84e9286fbe5ae73ed3302a67c1c (patch) | |
tree | 8532554d9aa4e1632803543201a858fd02bc0869 /spec/features/issues/gfm_autocomplete_spec.rb | |
parent | b673fcc14fceb7553a3e2ddf375ad45b93106ea9 (diff) |
fix rubocop (oops)
Diffstat (limited to 'spec/features/issues/gfm_autocomplete_spec.rb')
-rw-r--r-- | spec/features/issues/gfm_autocomplete_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/features/issues/gfm_autocomplete_spec.rb b/spec/features/issues/gfm_autocomplete_spec.rb index 640e29183be..31291aed349 100644 --- a/spec/features/issues/gfm_autocomplete_spec.rb +++ b/spec/features/issues/gfm_autocomplete_spec.rb @@ -17,13 +17,13 @@ feature 'GFM autocomplete', :js do end after do - execute_script("localStorage.clear();"); + execute_script("localStorage.clear();") end it 'updates issue descripton with GFM reference' do find('.issuable-edit').click - simulateInput('#issue-description', "@#{user.name[0...3]}") + simulate_input('#issue-description', "@#{user.name[0...3]}") find('.atwho-view .cur').click @@ -106,7 +106,7 @@ feature 'GFM autocomplete', :js do it 'includes items for assignee dropdowns with non-ASCII characters in name' do page.within '.timeline-content-form' do find('#note-body').native.send_keys('') - simulateInput('#note-body', "@#{user.name[0...8]}"); + simulate_input('#note-body', "@#{user.name[0...8]}") end expect(page).to have_selector('.atwho-container') @@ -134,7 +134,7 @@ feature 'GFM autocomplete', :js do note = find('#note-body') page.within '.timeline-content-form' do note.native.send_keys('') - simulateInput('#note-body', "~#{label.title[0]}") + simulate_input('#note-body', "~#{label.title[0]}") note.click end |