diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-09-01 00:01:17 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-09-01 17:46:05 +0300 |
commit | 984c2f8b0f24709bed680b107275f4ac6c2f5838 (patch) | |
tree | ce9e14f0f041616c5da5f633c2e0a462f7702ceb /spec | |
parent | ead299358e93d8a879a968910e294d08f9d2acdc (diff) |
Remove unused labels from filter_issues_spec
Diffstat (limited to 'spec')
-rw-r--r-- | spec/features/issues/filtered_search/filter_issues_spec.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/spec/features/issues/filtered_search/filter_issues_spec.rb b/spec/features/issues/filtered_search/filter_issues_spec.rb index 337229d931e..825a3d1c476 100644 --- a/spec/features/issues/filtered_search/filter_issues_spec.rb +++ b/spec/features/issues/filtered_search/filter_issues_spec.rb @@ -6,9 +6,6 @@ describe 'Filter issues', js: true do let(:project) { create(:project) } let(:user) { create(:user) } - let!(:label) { create(:label, project: project) } - let!(:wontfix) { create(:label, project: project, title: "Won't fix") } - let!(:bug_label) { create(:label, project: project, title: 'bug') } let!(:caps_sensitive_label) { create(:label, project: project, title: 'CaPs') } let!(:milestone) { create(:milestone, title: "8", project: project, start_date: 2.days.ago) } @@ -589,7 +586,7 @@ describe 'Filter issues', js: true do input_filtered_search("label:", submit: false) within('#js-dropdown-label') do - expect(page).to have_selector('.filter-dropdown .filter-dropdown-item', count: 5) + expect(page).to have_selector('.filter-dropdown .filter-dropdown-item', count: 3) end end end |