Commit d58d88fb authored by Kamil Trzcinski's avatar Kamil Trzcinski

Use different markdown

parent 1a8fd9d7
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
.bs-callout.bs-callout-warning.shared-runners-description .bs-callout.bs-callout-warning.shared-runners-description
- if shared_runners_text.present? - if shared_runners_text.present?
= markdown(shared_runners_text) = markdown(shared_runners_text, pipeline: 'plain_markdown')
- else - else
GitLab Runners do not offer secure isolation between projects that they do builds for. You are TRUSTING all GitLab users who can push code to project A, B or C to run shell scripts on the machine hosting runner X. GitLab Runners do not offer secure isolation between projects that they do builds for. You are TRUSTING all GitLab users who can push code to project A, B or C to run shell scripts on the machine hosting runner X.
%hr %hr
......
...@@ -81,7 +81,8 @@ describe "Runners" do ...@@ -81,7 +81,8 @@ describe "Runners" do
end end
describe "shared runners description" do describe "shared runners description" do
let(:shared_runners_text) { 'custom shared runners description' } let(:shared_runners_text) { 'custom **shared** runners description' }
let(:shared_runners_html) { 'custom shared runners description' }
before do before do
stub_application_setting(shared_runners_text: shared_runners_text) stub_application_setting(shared_runners_text: shared_runners_text)
...@@ -91,7 +92,7 @@ describe "Runners" do ...@@ -91,7 +92,7 @@ describe "Runners" do
end end
it "sees shared runners description" do it "sees shared runners description" do
expect(page.find(".shared-runners-description")).to have_content(shared_runners_text) expect(page.find(".shared-runners-description")).to have_content(shared_runners_html)
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment