summaryrefslogtreecommitdiff
path: root/features/steps/profile/active_tab.rb
diff options
context:
space:
mode:
Diffstat (limited to 'features/steps/profile/active_tab.rb')
-rw-r--r--features/steps/profile/active_tab.rb25
1 files changed, 25 insertions, 0 deletions
diff --git a/features/steps/profile/active_tab.rb b/features/steps/profile/active_tab.rb
new file mode 100644
index 00000000000..ee9f5f201cf
--- /dev/null
+++ b/features/steps/profile/active_tab.rb
@@ -0,0 +1,25 @@
+class ProfileActiveTab < Spinach::FeatureSteps
+ include SharedAuthentication
+ include SharedPaths
+ include SharedActiveTab
+
+ Then 'the active main tab should be Home' do
+ ensure_active_main_tab('Home')
+ end
+
+ Then 'the active main tab should be Account' do
+ ensure_active_main_tab('Account')
+ end
+
+ Then 'the active main tab should be SSH Keys' do
+ ensure_active_main_tab('SSH Keys')
+ end
+
+ Then 'the active main tab should be Design' do
+ ensure_active_main_tab('Design')
+ end
+
+ Then 'the active main tab should be History' do
+ ensure_active_main_tab('History')
+ end
+end