gitlab-org--gitlab-foss/spec/features/boards/keyboard_shortcut_spec.rb
Jacopo 0ce6785851 Replaces tag: true into :tag in the specs
Replaces all the explicit include metadata syntax in the specs (tag:
true) into the implicit one (:tag).
Added a cop to prevent future errors and handle autocorrection.
2017-10-07 13:57:54 +02:00

20 lines
386 B
Ruby

require 'rails_helper'
describe 'Issue Boards shortcut', :js do
let(:project) { create(:project) }
before do
create(:board, project: project)
sign_in(create(:admin))
visit project_path(project)
end
it 'takes user to issue board index' do
find('body').native.send_keys('gb')
expect(page).to have_selector('.boards-list')
wait_for_requests
end
end