summaryrefslogtreecommitdiff
path: root/spec/features/issues_spec.rb
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-06-01 10:11:30 +0100
committerJacob Schatz <jschatz1@gmail.com>2016-06-05 16:15:51 -0400
commit515a5aeb3325848de22eec6421b1a0dcaf434e2c (patch)
tree5b088b12085a0aeb17299664f032db06f92955ab /spec/features/issues_spec.rb
parent86df113907907b282de226e86b27e1136432563e (diff)
downloadgitlab-ce-515a5aeb3325848de22eec6421b1a0dcaf434e2c.tar.gz
Fixed JS errorsjquery2
CHANGELOG item
Diffstat (limited to 'spec/features/issues_spec.rb')
-rw-r--r--spec/features/issues_spec.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/spec/features/issues_spec.rb b/spec/features/issues_spec.rb
index a4eed5031c9..460d7f82b36 100644
--- a/spec/features/issues_spec.rb
+++ b/spec/features/issues_spec.rb
@@ -365,13 +365,9 @@ describe 'Issues', feature: true do
page.within('.assignee') do
expect(page).to have_content "#{@user.name}"
- end
- find('.block.assignee .edit-link').click
- sleep 2 # wait for ajax stuff to complete
- first('.dropdown-menu-user-link').click
- sleep 2
- page.within('.assignee') do
+ click_link 'Edit'
+ click_link 'Unassigned'
expect(page).to have_content 'No assignee'
end