diff options
author | Phil Hughes <me@iamphill.com> | 2016-10-25 12:57:56 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-10-25 12:57:56 +0100 |
commit | cabc131cfbee72e3a1eaae94619dcf1e3cc59d5a (patch) | |
tree | 98b1b8cca621b87b4818018e4ec7bfadd63c8ca0 /spec/features/boards/boards_spec.rb | |
parent | f289983db6dd0b3d237ad35f5359ecd6e09cb3ea (diff) | |
download | gitlab-ce-cabc131cfbee72e3a1eaae94619dcf1e3cc59d5a.tar.gz |
Stop unauthized users dragging on issue boardsboard-dragging-disabled
Closes #23763
Diffstat (limited to 'spec/features/boards/boards_spec.rb')
-rw-r--r-- | spec/features/boards/boards_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/features/boards/boards_spec.rb b/spec/features/boards/boards_spec.rb index 0fb1608a0a3..c533ce1d87f 100644 --- a/spec/features/boards/boards_spec.rb +++ b/spec/features/boards/boards_spec.rb @@ -624,6 +624,10 @@ describe 'Issue Boards', feature: true, js: true do it 'does not show create new list' do expect(page).not_to have_selector('.js-new-board-list') end + + it 'does not allow dragging' do + expect(page).not_to have_selector('.user-can-drag') + end end context 'as guest user' do |