summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2017-02-17 23:37:46 +0000
committerAlfredo Sumaran <alfredo@gitlab.com>2017-02-17 23:37:46 +0000
commitf6ac952819bf5e96498c028a3594dd36d521c297 (patch)
treef0fff42008a03dd2b85fd37b5d39e811e2af0885 /spec
parent721ae6bef6c369a74112bd0adc3202e3c0a206ee (diff)
parentee444bf340616192dc1e0807676bbe58ad1c3905 (diff)
downloadgitlab-ce-f6ac952819bf5e96498c028a3594dd36d521c297.tar.gz
Merge branch 'global-dropdown-edits' into 'master'
Global dropdown edits See merge request !9336
Diffstat (limited to 'spec')
-rw-r--r--spec/features/dashboard/issuables_counter_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/dashboard/issuables_counter_spec.rb b/spec/features/dashboard/issuables_counter_spec.rb
index 603076d7d37..a1718912fc6 100644
--- a/spec/features/dashboard/issuables_counter_spec.rb
+++ b/spec/features/dashboard/issuables_counter_spec.rb
@@ -35,9 +35,9 @@ describe 'Navigation bar counter', feature: true, js: true, caching: true do
end
def expect_counters(issuable_type, count)
- dashboard_count = find('li.active span.badge')
+ dashboard_count = find('li.active')
find('.global-dropdown-toggle').click
- nav_count = find(".dashboard-shortcuts-#{issuable_type} span.badge")
+ nav_count = find(".dashboard-shortcuts-#{issuable_type}")
expect(nav_count).to have_content(count)
expect(dashboard_count).to have_content(count)