mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-09 04:36:11 +10:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user