summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Schatz <jschatz@gitlab.com>2016-05-27 01:39:46 +0000
committerJacob Schatz <jschatz@gitlab.com>2016-05-27 01:39:46 +0000
commit61072a02444092040fcabdc582f029670ccd4ae2 (patch)
tree84fcb93b1f3d173eaf5564f02da6b7c3b3ab5621
parent29db3f2c52d59abcc54a879d3fe7eb84c1e2f187 (diff)
parentbb3111c11694d0fe4aa46b113d195ec15f8ed147 (diff)
downloadgitlab-ce-61072a02444092040fcabdc582f029670ccd4ae2.tar.gz
Merge branch 'fix-shortcuts-spec' into 'master'
Ensure project name is present on page ## What does this MR do? Fixes a failing spec See merge request !4307
-rw-r--r--spec/features/project/shortcuts_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/project/shortcuts_spec.rb b/spec/features/project/shortcuts_spec.rb
index 2595c4181e5..54aa9c66a08 100644
--- a/spec/features/project/shortcuts_spec.rb
+++ b/spec/features/project/shortcuts_spec.rb
@@ -1,7 +1,7 @@
require 'spec_helper'
feature 'Project shortcuts', feature: true do
- let(:project) { create(:project) }
+ let(:project) { create(:project, name: 'Victorialand') }
let(:user) { create(:user) }
describe 'On a project', js: true do
@@ -14,7 +14,7 @@ feature 'Project shortcuts', feature: true do
describe 'pressing "i"' do
it 'redirects to new issue page' do
find('body').native.send_key('i')
- expect(page).to have_content('New Issue')
+ expect(page).to have_content('Victorialand')
end
end
end