summaryrefslogtreecommitdiff
path: root/spec/features/boards/boards_spec.rb
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-10-25 12:57:56 +0100
committerPhil Hughes <me@iamphill.com>2016-10-25 12:57:56 +0100
commitcabc131cfbee72e3a1eaae94619dcf1e3cc59d5a (patch)
tree98b1b8cca621b87b4818018e4ec7bfadd63c8ca0 /spec/features/boards/boards_spec.rb
parentf289983db6dd0b3d237ad35f5359ecd6e09cb3ea (diff)
downloadgitlab-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.rb4
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