summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-09-08 15:28:51 +0100
committerPhil Hughes <me@iamphill.com>2017-09-13 14:30:32 +0100
commit8a2ca7639d48f8860b66f0c86ec6c9db1b9a64c5 (patch)
tree221f7e7704182bda2c8f3c9f4c76099a07ba49a9 /spec
parent577d3fffaea05804db401736ea90b6b0436a9cde (diff)
downloadgitlab-ce-8a2ca7639d48f8860b66f0c86ec6c9db1b9a64c5.tar.gz
fixed merge request specrevert-sidebar-title-attribute
Diffstat (limited to 'spec')
-rw-r--r--spec/features/groups/merge_requests_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/groups/merge_requests_spec.rb b/spec/features/groups/merge_requests_spec.rb
index 2577d98df6f..7ce6a61d50c 100644
--- a/spec/features/groups/merge_requests_spec.rb
+++ b/spec/features/groups/merge_requests_spec.rb
@@ -25,7 +25,7 @@ feature 'Group merge requests page' do
end
it 'ignores archived merge request count badges in navbar' do
- expect( page.find('[aria-label="Merge Requests"] span.badge.count').text).to eq("1")
+ expect(first(:link, text: 'Merge Requests').find('.badge').text).to eq("1")
end
it 'ignores archived merge request count badges in state-filters' do