Add features for checking the "Active Tab" across various pages

This commit is contained in:
Robert Speicher 2012-09-25 20:11:57 -04:00
parent f814da38bf
commit cada511f8b
11 changed files with 537 additions and 9 deletions

View file

@ -0,0 +1,25 @@
class DashboardActiveTab < 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 Issues' do
ensure_active_main_tab('Issues')
end
Then 'the active main tab should be Merge Requests' do
ensure_active_main_tab('Merge Requests')
end
Then 'the active main tab should be Search' do
ensure_active_main_tab('Search')
end
Then 'the active main tab should be Help' do
ensure_active_main_tab('Help')
end
end