summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2018-06-15 09:39:27 -0500
committerClement Ho <ClemMakesApps@gmail.com>2018-06-15 09:39:27 -0500
commit564c819b3deec8617f87d59f904c0364b031e05c (patch)
treed6110ce3ad33c10ee4dbeb7e8f80b53d0ec92a41
parent279744f057f3bbe4e4e5c7e59e9b7693c3c88f65 (diff)
downloadgitlab-ce-564c819b3deec8617f87d59f904c0364b031e05c.tar.gz
Fix specs
-rw-r--r--spec/features/labels_hierarchy_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/labels_hierarchy_spec.rb b/spec/features/labels_hierarchy_spec.rb
index 4700ada1aae..5573148f8bc 100644
--- a/spec/features/labels_hierarchy_spec.rb
+++ b/spec/features/labels_hierarchy_spec.rb
@@ -34,7 +34,7 @@ feature 'Labels Hierarchy', :js, :nested_groups do
wait_for_requests
- expect(page).to have_selector('span.badge', text: label.title)
+ expect(page).to have_selector('.badge', text: label.title)
end
end
@@ -45,7 +45,7 @@ feature 'Labels Hierarchy', :js, :nested_groups do
wait_for_requests
- expect(page).not_to have_selector('span.badge', text: child_group_label.title)
+ expect(page).not_to have_selector('.badge', text: child_group_label.title)
end
end