2014-02-04 02:48:33 -05: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-29 04:13:30 -04:00
|
|
|
visit help_page_path("raketasks", "maintenance")
|
2014-02-04 02:48:33 -05:00
|
|
|
end
|
|
|
|
|
|
|
|
step 'I should see "Rake Tasks" page markdown rendered' do
|
2014-05-29 04:13:30 -04:00
|
|
|
page.should 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
|
2014-08-09 14:00:03 -04:00
|
|
|
header_should_have_correct_id_and_link(2, '(Re-)Create satellite repositories', 're-create-satellite-repositories', '.documentation')
|
2014-02-04 02:48:33 -05:00
|
|
|
end
|
|
|
|
end
|