summaryrefslogtreecommitdiff
path: root/spec/presenters/projects
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-09-03 09:08:20 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-09-03 09:08:20 +0000
commita1aeaba23e388ac96d34c135c6c55e414f823487 (patch)
tree12ac28cdba58353efe18053028d6028a965c6358 /spec/presenters/projects
parentd72fedf168dafcb38bd51b67f86804738000fb48 (diff)
downloadgitlab-ce-a1aeaba23e388ac96d34c135c6c55e414f823487.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/presenters/projects')
-rw-r--r--spec/presenters/projects/prometheus/alert_presenter_spec.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/spec/presenters/projects/prometheus/alert_presenter_spec.rb b/spec/presenters/projects/prometheus/alert_presenter_spec.rb
index 2d58a7f2cfa..1c37e551385 100644
--- a/spec/presenters/projects/prometheus/alert_presenter_spec.rb
+++ b/spec/presenters/projects/prometheus/alert_presenter_spec.rb
@@ -63,8 +63,6 @@ RSpec.describe Projects::Prometheus::AlertPresenter do
it do
is_expected.to eq(
<<~MARKDOWN.chomp
- #### Summary
-
**Start time:** #{presenter.start_time}
MARKDOWN
@@ -80,8 +78,6 @@ RSpec.describe Projects::Prometheus::AlertPresenter do
it do
is_expected.to eq(
<<~MARKDOWN.chomp
- #### Summary
-
**Start time:** #{presenter.start_time}
#### Alert Details
@@ -101,8 +97,6 @@ RSpec.describe Projects::Prometheus::AlertPresenter do
it do
is_expected.to eq(
<<~MARKDOWN.chomp
- #### Summary
-
**Start time:** #{presenter.start_time}#{markdown_line_break}
**full_query:** `query`
@@ -129,8 +123,6 @@ RSpec.describe Projects::Prometheus::AlertPresenter do
it do
is_expected.to eq(
<<~MARKDOWN.chomp
- #### Summary
-
**Start time:** #{presenter.start_time}#{markdown_line_break}
**Service:** service_name#{markdown_line_break}
**Monitoring tool:** monitoring_tool_name#{markdown_line_break}
@@ -151,8 +143,6 @@ RSpec.describe Projects::Prometheus::AlertPresenter do
it do
is_expected.to eq(
<<~MARKDOWN.chomp
- #### Summary
-
**Start time:** #{presenter.start_time}#{markdown_line_break}
**Hosts:** http://localhost:3000
@@ -168,8 +158,6 @@ RSpec.describe Projects::Prometheus::AlertPresenter do
shared_examples_for 'markdown with metrics embed' do
let(:expected_markdown) do
<<~MARKDOWN.chomp
- #### Summary
-
**Start time:** #{presenter.start_time}#{markdown_line_break}
**full_query:** `avg(metric) > 1.0`
@@ -222,8 +210,6 @@ RSpec.describe Projects::Prometheus::AlertPresenter do
context 'when not enough information is present for an embed' do
let(:expected_markdown) do
<<~MARKDOWN.chomp
- #### Summary
-
**Start time:** #{presenter.start_time}#{markdown_line_break}
**full_query:** `avg(metric) > 1.0`
@@ -249,8 +235,6 @@ RSpec.describe Projects::Prometheus::AlertPresenter do
context 'without full_query' do
let(:expected_markdown) do
<<~MARKDOWN.chomp
- #### Summary
-
**Start time:** #{presenter.start_time}
MARKDOWN