diff options
author | Toon Claes <toon@gitlab.com> | 2019-02-28 19:57:34 +0100 |
---|---|---|
committer | Toon Claes <toon@gitlab.com> | 2019-02-28 19:57:34 +0100 |
commit | 62d7990b9bb30cf33ed87017c5c633d1cccc75c2 (patch) | |
tree | c3e1b69c58a412ba1c6f50a0337a23d9f9d6e1a4 /spec/features/dashboard/help_spec.rb | |
parent | f6453eca992a9c142268e78ac782cef98110d183 (diff) | |
download | gitlab-ce-tc-standard-gem.tar.gz |
Ran standardrb --fix on the whole codebasetc-standard-gem
Inspired by https://twitter.com/searls/status/1101137953743613952 I
decided to try https://github.com/testdouble/standard on our codebase.
It's opinionated, but at least it's a _standard_.
Diffstat (limited to 'spec/features/dashboard/help_spec.rb')
-rw-r--r-- | spec/features/dashboard/help_spec.rb | 16 |
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 |