Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-06-13 19:58:55 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-06-13 19:58:55 +0300
commit72f6f46e11ba78cb695320af717f771a739099f4 (patch)
tree58b868f36a922658a563ed3ec89b08c1104778ab /spec/features
parent33db51f9154f8421dfdc2e07d04684b1c1f404d9 (diff)
parentc928accd954e5812ccc7d2b0887028da554f2ef3 (diff)
Merge remote-tracking branch 'origin/master' into artifacts-expire-date
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/issues/bulk_assigment_labels_spec.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/spec/features/issues/bulk_assigment_labels_spec.rb b/spec/features/issues/bulk_assigment_labels_spec.rb
index c58b87281a3..0fbc2062e39 100644
--- a/spec/features/issues/bulk_assigment_labels_spec.rb
+++ b/spec/features/issues/bulk_assigment_labels_spec.rb
@@ -83,6 +83,23 @@ feature 'Issues > Labels bulk assignment', feature: true do
end
end
+ context 'can assign a label to all issues when label is present' do
+ before do
+ issue2.labels << bug
+ issue2.labels << feature
+ visit namespace_project_issues_path(project.namespace, project)
+
+ check 'check_all_issues'
+ open_labels_dropdown ['bug']
+ update_issues
+ end
+
+ it do
+ expect(find("#issue_#{issue1.id}")).to have_content 'bug'
+ expect(find("#issue_#{issue2.id}")).to have_content 'bug'
+ end
+ end
+
context 'can bulk un-assign' do
context 'all labels to all issues' do
before do