2014-09-04 03:00:04 -04:00
|
|
|
require_relative 'active_tab'
|
|
|
|
|
2014-08-21 04:14:31 -04:00
|
|
|
module SharedProjectTab
|
|
|
|
include Spinach::DSL
|
|
|
|
include SharedActiveTab
|
|
|
|
|
2017-03-06 18:52:57 -05:00
|
|
|
step 'the active main tab should be Project' do
|
2014-09-02 04:47:25 -04:00
|
|
|
ensure_active_main_tab('Project')
|
2014-08-21 04:14:31 -04:00
|
|
|
end
|
|
|
|
|
2016-06-21 10:54:02 -04:00
|
|
|
step 'the active main tab should be Repository' do
|
|
|
|
ensure_active_main_tab('Repository')
|
2014-08-21 04:14:31 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
step 'the active main tab should be Issues' do
|
|
|
|
ensure_active_main_tab('Issues')
|
|
|
|
end
|
|
|
|
|
2017-03-07 16:59:06 -05:00
|
|
|
step 'the active sub tab should be Members' do
|
|
|
|
ensure_active_sub_tab('Members')
|
2015-06-08 19:12:38 -04:00
|
|
|
end
|
|
|
|
|
2014-08-21 04:14:31 -04:00
|
|
|
step 'the active main tab should be Merge Requests' do
|
|
|
|
ensure_active_main_tab('Merge Requests')
|
|
|
|
end
|
|
|
|
|
|
|
|
step 'the active main tab should be Snippets' do
|
|
|
|
ensure_active_main_tab('Snippets')
|
|
|
|
end
|
|
|
|
|
|
|
|
step 'the active main tab should be Wiki' do
|
|
|
|
ensure_active_main_tab('Wiki')
|
|
|
|
end
|
|
|
|
|
|
|
|
step 'the active main tab should be Settings' do
|
2017-03-07 16:59:06 -05:00
|
|
|
ensure_active_main_tab('Settings')
|
2014-08-21 04:14:31 -04:00
|
|
|
end
|
2015-07-08 10:55:04 -04:00
|
|
|
|
2017-03-02 12:57:01 -05:00
|
|
|
step 'the active sub tab should be Graph' do
|
|
|
|
ensure_active_sub_tab('Graph')
|
2015-12-09 11:47:45 -05:00
|
|
|
end
|
2016-06-02 15:32:22 -04:00
|
|
|
|
|
|
|
step 'the active sub tab should be Files' do
|
|
|
|
ensure_active_sub_tab('Files')
|
|
|
|
end
|
|
|
|
|
|
|
|
step 'the active sub tab should be Commits' do
|
|
|
|
ensure_active_sub_tab('Commits')
|
|
|
|
end
|
2017-03-06 18:52:57 -05:00
|
|
|
|
|
|
|
step 'the active sub tab should be Home' do
|
|
|
|
ensure_active_sub_tab('Home')
|
|
|
|
end
|
|
|
|
|
|
|
|
step 'the active sub tab should be Activity' do
|
|
|
|
ensure_active_sub_tab('Activity')
|
|
|
|
end
|
|
|
|
|
|
|
|
step 'the active sub tab should be Charts' do
|
|
|
|
ensure_active_sub_tab('Charts')
|
|
|
|
end
|
2014-08-21 04:14:31 -04:00
|
|
|
end
|