BigW Consortium Gitlab

help.rb 687 Bytes
Newer Older
1
class Spinach::Features::DashboardHelp < Spinach::FeatureSteps
2 3 4 5 6 7 8 9 10
  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
11
    visit help_page_path("raketasks", "maintenance")
12 13 14
  end

  step 'I should see "Rake Tasks" page markdown rendered' do
15
    expect(page).to have_content "Gather information about GitLab and the system it runs on"
16 17 18
  end

  step 'Header "Rebuild project satellites" should have correct ids and links' do
19
    header_should_have_correct_id_and_link(2, 'Check GitLab configuration', 'check-gitlab-configuration', '.documentation')
20 21
  end
end