summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorFilipa Lacerda <lacerda.filipa@gmail.com>2017-01-26 22:28:39 +0000
committerRobert Speicher <rspeicher@gmail.com>2017-01-27 14:12:53 -0500
commit33d4e7fd9006058b8f2de369af2fe3e12b47086b (patch)
treecb20db26d6c24cb7cf0378a7aaa638d86e296ba5 /spec
parentbb069b39a25f09fcb898500ce7b29ae936392ce8 (diff)
downloadgitlab-ce-33d4e7fd9006058b8f2de369af2fe3e12b47086b.tar.gz
Merge branch 'revert-filter-assigned-to-me' into 'master'
Revert filter-assigned-to-me Closes #27176 See merge request !8785
Diffstat (limited to 'spec')
-rw-r--r--spec/features/issues/filtered_search/dropdown_assignee_spec.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/spec/features/issues/filtered_search/dropdown_assignee_spec.rb b/spec/features/issues/filtered_search/dropdown_assignee_spec.rb
index 525c2b0ae72..93763f092fb 100644
--- a/spec/features/issues/filtered_search/dropdown_assignee_spec.rb
+++ b/spec/features/issues/filtered_search/dropdown_assignee_spec.rb
@@ -43,14 +43,6 @@ describe 'Dropdown assignee', js: true, feature: true do
expect(page).to have_css(js_dropdown_assignee, visible: true)
end
- it 'shows assigned to me link' do
- filtered_search.set('assignee:')
-
- page.within js_dropdown_assignee do
- expect(page).to have_content('Assigned to me')
- end
- end
-
it 'closes when the search bar is unfocused' do
find('body').click()
@@ -129,14 +121,6 @@ describe 'Dropdown assignee', js: true, feature: true do
filtered_search.set('assignee:')
end
- it 'filters by current user' do
- page.within js_dropdown_assignee do
- click_button 'Assigned to me'
- end
-
- expect(filtered_search.value).to eq("assignee:#{user.to_reference} ")
- end
-
it 'fills in the assignee username when the assignee has not been filtered' do
click_assignee(user_jacob.name)