2014-02-04 07:48:33 +00:00
|
|
|
class Spinach::Features::Help < Spinach::FeatureSteps
|
|
|
|
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
|
2014-05-28 13:58:02 +00:00
|
|
|
visit help_page_path("raketasks", "README")
|
2014-02-04 07:48:33 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
step 'I should see "Rake Tasks" page markdown rendered' do
|
|
|
|
page.should have_content "GitLab provides some specific rake tasks to enable special features or perform maintenance tasks"
|
|
|
|
end
|
|
|
|
|
|
|
|
step 'Header "Rebuild project satellites" should have correct ids and links' do
|
2014-05-24 11:26:15 +00:00
|
|
|
header_should_have_correct_id_and_link(3, '(Re-)Create satellite repos', 're-create-satellite-repos')
|
2014-02-04 07:48:33 +00:00
|
|
|
end
|
|
|
|
end
|