summaryrefslogtreecommitdiff
path: root/spec/features/dashboard/help_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/dashboard/help_spec.rb')
-rw-r--r--spec/features/dashboard/help_spec.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/spec/features/dashboard/help_spec.rb b/spec/features/dashboard/help_spec.rb
index 467a503a62d..c019efbdc4c 100644
--- a/spec/features/dashboard/help_spec.rb
+++ b/spec/features/dashboard/help_spec.rb
@@ -1,19 +1,19 @@
-require 'spec_helper'
+require "spec_helper"
-RSpec.describe 'Dashboard Help' do
+RSpec.describe "Dashboard Help" do
before do
sign_in(create(:user))
end
- context 'documentation' do
- it 'renders correctly markdown' do
+ context "documentation" do
+ it "renders correctly markdown" do
visit help_page_path("administration/raketasks/maintenance")
- expect(page).to have_content('Gather information about GitLab and the system it runs on')
+ expect(page).to have_content("Gather information about GitLab and the system it runs on")
- node = find('.documentation h2 a#user-content-check-gitlab-configuration')
- expect(node[:href]).to eq '#check-gitlab-configuration'
- expect(find(:xpath, "#{node.path}/..").text).to eq 'Check GitLab configuration'
+ node = find(".documentation h2 a#user-content-check-gitlab-configuration")
+ expect(node[:href]).to eq "#check-gitlab-configuration"
+ expect(find(:xpath, "#{node.path}/..").text).to eq "Check GitLab configuration"
end
end
end