diff options
author | Jacob Schatz <jschatz@gitlab.com> | 2016-06-10 18:30:28 +0300 |
---|---|---|
committer | Jacob Schatz <jschatz@gitlab.com> | 2016-06-10 18:30:28 +0300 |
commit | e99559260bbfe495e8bf5a22ba86e0ec4f1e31ed (patch) | |
tree | e08faf520d849ff2aedc1ef7586e2cf35c9ed5e3 /spec/features/issues | |
parent | 2e7e2b534907b7095e20edeca30c99c18ea436af (diff) | |
parent | a4b3bdabd52494f46fee73271d7b343e6b7e08e9 (diff) |
Merge branch 'user-search-dropdown' into 'master'
Revert change to search all users
## What does this MR do?
Reverts a change that allowed the user to search for all users in the author/assignee dropdown
## Are there points in the code the reviewer needs to double check?
Double check it isn't still searching all users
See merge request !4564
Diffstat (limited to 'spec/features/issues')
-rw-r--r-- | spec/features/issues/filter_issues_spec.rb | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/spec/features/issues/filter_issues_spec.rb b/spec/features/issues/filter_issues_spec.rb index 7efbaaa048c..1f0594e6b02 100644 --- a/spec/features/issues/filter_issues_spec.rb +++ b/spec/features/issues/filter_issues_spec.rb @@ -294,40 +294,4 @@ describe 'Filter issues', feature: true do end end end - - describe 'filter by any author', js: true do - before do - user2 = create(:user, name: "tester") - create(:issue, project: project, author: user) - create(:issue, project: project, author: user2) - - visit namespace_project_issues_path(project.namespace, project) - end - - it 'should show filter by any author link' do - click_button "Author" - fill_in "Search authors", with: "tester" - - page.within ".dropdown-menu-author" do - expect(page).to have_content "tester" - end - end - - it 'should show filter issues by any author' do - page.within '.issues-list' do - expect(page).to have_selector ".issue", count: 2 - end - - click_button "Author" - fill_in "Search authors", with: "tester" - - page.within ".dropdown-menu-author" do - click_link "tester" - end - - page.within '.issues-list' do - expect(page).to have_selector ".issue", count: 1 - end - end - end end |