summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-05-10 15:53:11 +0000
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-05-10 15:53:11 +0000
commit8480118d2baeec3113709febb6a54735c3758be2 (patch)
treedd3ef45d926f1cb074f3a02cc0680518abcdeeaa
parentca9033bd5dcf8c3abc9fe17c2a23da495d6e60d4 (diff)
downloadgitlab-ce-8480118d2baeec3113709febb6a54735c3758be2.tar.gz
Fix `send_key` to `send_keys` and add EOF newlinefix-shortcuts_spec-explore-page-transient-failure
-rw-r--r--spec/features/dashboard/shortcuts_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/dashboard/shortcuts_spec.rb b/spec/features/dashboard/shortcuts_spec.rb
index af7ef55a57e..349b948eaee 100644
--- a/spec/features/dashboard/shortcuts_spec.rb
+++ b/spec/features/dashboard/shortcuts_spec.rb
@@ -8,11 +8,11 @@ feature 'Dashboard shortcuts', :feature, :js do
end
scenario 'Navigate to tabs' do
- find('body').send_key([:shift, 'I'])
+ find('body').send_keys([:shift, 'I'])
check_page_title('Issues')
- find('body').send_key([:shift, 'M'])
+ find('body').send_keys([:shift, 'M'])
check_page_title('Merge Requests')
@@ -52,4 +52,4 @@ feature 'Dashboard shortcuts', :feature, :js do
def check_page_title(title)
expect(find('.header-content .title')).to have_content(title)
end
-end \ No newline at end of file
+end