diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-06-05 21:00:21 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-06-14 00:58:15 +0300 |
commit | 821fc4b03479a193b055c91b8a655d226bc46c17 (patch) | |
tree | a768f6c4cdd039261194bbc36a40b31e61c9934f /features | |
parent | 0b3c97422136683357cdb4433a5ef0aa8858c18d (diff) |
Add Profiles::PreferencesController
Diffstat (limited to 'features')
-rw-r--r-- | features/profile/active_tab.feature | 6 | ||||
-rw-r--r-- | features/steps/profile/active_tab.rb | 4 | ||||
-rw-r--r-- | features/steps/shared/paths.rb | 4 |
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 |