7e113b6824
Signed-off-by: Rémy Coutable <remy@rymai.me>
20 lines
397 B
Ruby
20 lines
397 B
Ruby
require 'rails_helper'
|
|
|
|
describe 'Issue Boards shortcut', js: true do
|
|
let(:project) { create(:empty_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
|