diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-05-26 16:11:58 -0500 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-05-26 16:11:58 -0500 |
commit | bb3111c11694d0fe4aa46b113d195ec15f8ed147 (patch) | |
tree | 2147fdecdfd736dac9c3187ef05f17fdc2003147 | |
parent | 9bdfc98242f6fa039b73f47e6105faded1027eb1 (diff) | |
download | gitlab-ce-fix-shortcuts-spec.tar.gz |
Ensure project name is present on pagefix-shortcuts-spec
-rw-r--r-- | spec/features/project/shortcuts_spec.rb | 4 |
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 |