diff options
author | Phil Hughes <me@iamphill.com> | 2016-06-10 10:52:08 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-06-10 12:45:44 +0300 |
commit | a4b3bdabd52494f46fee73271d7b343e6b7e08e9 (patch) | |
tree | 9dab892af646f204932647028d12dda458b0b674 /spec/features | |
parent | b2b3fb6c0130af4d8b08ed2a92d76c269fb226eb (diff) |
removed tests needed for any author :poop:
Diffstat (limited to 'spec/features')
-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 |