summaryrefslogtreecommitdiff
path: root/spec/features/profiles/user_visits_profile_ssh_keys_page_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/profiles/user_visits_profile_ssh_keys_page_spec.rb')
-rw-r--r--spec/features/profiles/user_visits_profile_ssh_keys_page_spec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/features/profiles/user_visits_profile_ssh_keys_page_spec.rb b/spec/features/profiles/user_visits_profile_ssh_keys_page_spec.rb
index 0b7a63b54b4..685bf44619d 100644
--- a/spec/features/profiles/user_visits_profile_ssh_keys_page_spec.rb
+++ b/spec/features/profiles/user_visits_profile_ssh_keys_page_spec.rb
@@ -10,7 +10,6 @@ describe 'User visits the profile SSH keys page' do
end
it 'shows correct menu item' do
- expect(find('.sidebar-top-level-items > li.active')).to have_content('SSH Keys')
- expect(page).to have_selector('.sidebar-top-level-items > li.active', count: 1)
+ expect(page).to have_active_navigation('SSH Keys')
end
end