summaryrefslogtreecommitdiff
path: root/spec/features/issues/bulk_assignment_labels_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/issues/bulk_assignment_labels_spec.rb')
-rw-r--r--spec/features/issues/bulk_assignment_labels_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/issues/bulk_assignment_labels_spec.rb b/spec/features/issues/bulk_assignment_labels_spec.rb
index 06cb2e36334..7be5961af09 100644
--- a/spec/features/issues/bulk_assignment_labels_spec.rb
+++ b/spec/features/issues/bulk_assignment_labels_spec.rb
@@ -381,7 +381,7 @@ describe 'Issues > Labels bulk assignment' do
if unmark
items.map do |item|
# Make sure we are unmarking the item no matter the state it has currently
- click_link item until find('a', text: item)[:class] == 'label-item'
+ click_link item until find('a', text: item)[:class].include? 'label-item'
end
end
end