mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-11 21:56:19 +10:00
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: app/controllers/projects/services_controller.rb app/models/concerns/mentionable.rb app/models/project.rb app/models/user.rb app/views/admin/users/index.html.haml app/views/projects/services/_form.html.haml config/gitlab.yml.example config/initializers/1_settings.rb lib/gitlab/git_access.rb lib/gitlab/ldap/access.rb lib/gitlab/ldap/person.rb lib/gitlab/reference_extractor.rb spec/lib/gitlab/ldap/access_spec.rb
22 lines
700 B
Ruby
22 lines
700 B
Ruby
class Spinach::Features::DashboardHelp < 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
|
|
visit help_page_path("raketasks", "maintenance.md")
|
|
end
|
|
|
|
step 'I should see "Rake Tasks" page markdown rendered' do
|
|
page.should have_content "Gather information about GitLab and the system it runs on"
|
|
end
|
|
|
|
step 'Header "Rebuild project satellites" should have correct ids and links' do
|
|
header_should_have_correct_id_and_link(2, '(Re-)Create satellite repositories', 're-create-satellite-repositories', '.documentation')
|
|
end
|
|
end
|