summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmmar Alakkad <am.alakkad@gmail.com>2019-07-16 21:19:23 +0300
committerAmmar Alakkad <am.alakkad@gmail.com>2019-07-16 21:19:23 +0300
commit204ada066f18cc0bd8152b992f99f296923340bf (patch)
tree12095d77db0466ded17bd6f1ccf801b0d7d434b9
parent5f6ed626d56adfae0f8fb2947feb410562870ae4 (diff)
downloadgitlab-ce-48771-label-picker-line-break-on-long-label-titles.tar.gz
Fix failing test in bulk_assignment_labels48771-label-picker-line-break-on-long-label-titles
-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