summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-06-05 14:00:21 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-06-13 17:58:15 -0400
commit821fc4b03479a193b055c91b8a655d226bc46c17 (patch)
treea768f6c4cdd039261194bbc36a40b31e61c9934f /features
parent0b3c97422136683357cdb4433a5ef0aa8858c18d (diff)
downloadgitlab-ce-821fc4b03479a193b055c91b8a655d226bc46c17.tar.gz
Add Profiles::PreferencesController
Diffstat (limited to 'features')
-rw-r--r--features/profile/active_tab.feature6
-rw-r--r--features/steps/profile/active_tab.rb4
-rw-r--r--features/steps/shared/paths.rb4
3 files changed, 7 insertions, 7 deletions
diff --git a/features/profile/active_tab.feature b/features/profile/active_tab.feature
index 7801ae5b8ca..1fa4ac88ddc 100644
--- a/features/profile/active_tab.feature
+++ b/features/profile/active_tab.feature
@@ -18,9 +18,9 @@ Feature: Profile Active Tab
Then the active main tab should be SSH Keys
And no other main tabs should be active
- Scenario: On Profile Design
- Given I visit profile design page
- Then the active main tab should be Design
+ Scenario: On Profile Preferences
+ Given I visit profile preferences page
+ Then the active main tab should be Preferences
And no other main tabs should be active
Scenario: On Profile History
diff --git a/features/steps/profile/active_tab.rb b/features/steps/profile/active_tab.rb
index 8595ee876a4..79e3b55f6e1 100644
--- a/features/steps/profile/active_tab.rb
+++ b/features/steps/profile/active_tab.rb
@@ -15,8 +15,8 @@ class Spinach::Features::ProfileActiveTab < Spinach::FeatureSteps
ensure_active_main_tab('SSH Keys')
end
- step 'the active main tab should be Design' do
- ensure_active_main_tab('Design')
+ step 'the active main tab should be Preferences' do
+ ensure_active_main_tab('Preferences')
end
step 'the active main tab should be History' do
diff --git a/features/steps/shared/paths.rb b/features/steps/shared/paths.rb
index 09ae7e3a305..3bd0d60281c 100644
--- a/features/steps/shared/paths.rb
+++ b/features/steps/shared/paths.rb
@@ -123,8 +123,8 @@ module SharedPaths
visit profile_keys_path
end
- step 'I visit profile design page' do
- visit design_profile_path
+ step 'I visit profile preferences page' do
+ visit profile_preferences_path
end
step 'I visit profile history page' do