2014-10-02 12:42:54 -04:00
|
|
|
class Spinach::Features::DashboardHelp < Spinach::FeatureSteps
|
2014-02-04 02:48:33 -05:00
|
|
|
include SharedAuthentication
|
|
|
|
include SharedPaths
|
|
|
|
include SharedMarkdown
|
|
|
|
|
|
|
|
step 'I visit the help page' do
|
|
|
|
visit help_path
|
|
|
|
end
|
|
|
|
|
|
|
|
step 'I visit the "Rake Tasks" help page' do
|
2016-08-03 00:46:43 -04:00
|
|
|
visit help_page_path("administration/raketasks/maintenance")
|
2014-02-04 02:48:33 -05:00
|
|
|
end
|
|
|
|
|
|
|
|
step 'I should see "Rake Tasks" page markdown rendered' do
|
2015-06-12 00:44:13 -04:00
|
|
|
expect(page).to have_content "Gather information about GitLab and the system it runs on"
|
2014-02-04 02:48:33 -05:00
|
|
|
end
|
|
|
|
|
|
|
|
step 'Header "Rebuild project satellites" should have correct ids and links' do
|
2015-08-11 08:33:31 -04:00
|
|
|
header_should_have_correct_id_and_link(2, 'Check GitLab configuration', 'check-gitlab-configuration', '.documentation')
|
2014-02-04 02:48:33 -05:00
|
|
|
end
|
|
|
|
end
|