debian-mirror-gitlab/features/steps/dashboard/help.rb

22 lines
684 B
Ruby
Raw Normal View History

2015-04-26 12:48:37 +05:30
class Spinach::Features::DashboardHelp < Spinach::FeatureSteps
2014-09-02 18:07:02 +05:30
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-24 12:49:21 +05:30
visit help_page_path("raketasks/maintenance")
2014-09-02 18:07:02 +05:30
end
step 'I should see "Rake Tasks" page markdown rendered' do
2015-09-11 14:41:01 +05:30
expect(page).to have_content "Gather information about GitLab and the system it runs on"
2014-09-02 18:07:02 +05:30
end
step 'Header "Rebuild project satellites" should have correct ids and links' do
2015-09-25 12:07:36 +05:30
header_should_have_correct_id_and_link(2, 'Check GitLab configuration', 'check-gitlab-configuration', '.documentation')
2014-09-02 18:07:02 +05:30
end
end