Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitaliy @blackst0ne Klachkov <blackst0ne.ru@gmail.com>2017-09-16 13:09:58 +0300
committerVitaliy @blackst0ne Klachkov <blackst0ne.ru@gmail.com>2017-09-16 13:09:58 +0300
commit2a966f1b4e2fc640249f3c99afcdb3f06d70aaeb (patch)
treeb206ffb44a67b906289267f5cbf38afc4109ba44 /spec/features/profiles/user_visits_profile_preferences_page_spec.rb
parent20295b3db379f4be02521cac591feca3452a2b1c (diff)
Improve 'spec/features/profiles/*' specs
Diffstat (limited to 'spec/features/profiles/user_visits_profile_preferences_page_spec.rb')
-rw-r--r--spec/features/profiles/user_visits_profile_preferences_page_spec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/features/profiles/user_visits_profile_preferences_page_spec.rb b/spec/features/profiles/user_visits_profile_preferences_page_spec.rb
index d1776b3d7c2..924ee0e4174 100644
--- a/spec/features/profiles/user_visits_profile_preferences_page_spec.rb
+++ b/spec/features/profiles/user_visits_profile_preferences_page_spec.rb
@@ -10,8 +10,7 @@ describe 'User visits the profile preferences page' do
end
it 'shows correct menu item' do
- expect(find('.sidebar-top-level-items > li.active')).to have_content('Preferences')
- expect(page).to have_selector('.sidebar-top-level-items > li.active', count: 1)
+ expect(page).to have_active_navigation('Preferences')
end
describe 'User changes their syntax highlighting theme', :js do