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:
authordosire <sytses@gmail.com>2014-03-25 23:57:21 +0400
committerdosire <sytses@gmail.com>2014-03-25 23:57:21 +0400
commitb2e74741555f9cb9d58c3c44810803d0db39b9f3 (patch)
tree413fa17b0afa673c08e88e96217fe459265e835a /features/steps/profile/active_tab.rb
parent775f686e0e6e126555910a32c5c400d24e90789e (diff)
parent7f67e066dc9749d2532d220fafa3f397a5fe1f24 (diff)
Merge branch 'master' into define-feature-request
Conflicts: PROCESS.md
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