Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'qa/spec/support/loglinking_spec.rb')
-rw-r--r--qa/spec/support/loglinking_spec.rb21
1 files changed, 15 insertions, 6 deletions
diff --git a/qa/spec/support/loglinking_spec.rb b/qa/spec/support/loglinking_spec.rb
index 79004630253..2bea528028f 100644
--- a/qa/spec/support/loglinking_spec.rb
+++ b/qa/spec/support/loglinking_spec.rb
@@ -26,8 +26,11 @@ RSpec.describe QA::Support::Loglinking do
context 'and both Sentry and Kibana exist for the logging environment' do
let(:sentry) { instance_double(QA::Support::SystemLogs::Sentry, url: sentry_url) }
let(:kibana) do
- instance_double(QA::Support::SystemLogs::Kibana,
- discover_url: discover_url, dashboard_url: dashboard_url)
+ instance_double(
+ QA::Support::SystemLogs::Kibana,
+ discover_url: discover_url,
+ dashboard_url: dashboard_url
+ )
end
it 'returns both Sentry and Kibana URLs' do
@@ -43,8 +46,11 @@ RSpec.describe QA::Support::Loglinking do
context 'and only Sentry exists for the logging environment' do
let(:sentry) { instance_double(QA::Support::SystemLogs::Sentry, url: sentry_url) }
let(:kibana) do
- instance_double(QA::Support::SystemLogs::Kibana,
- discover_url: nil, dashboard_url: nil)
+ instance_double(
+ QA::Support::SystemLogs::Kibana,
+ discover_url: nil,
+ dashboard_url: nil
+ )
end
it 'returns only Sentry URL' do
@@ -58,8 +64,11 @@ RSpec.describe QA::Support::Loglinking do
context 'and only Kibana exists for the logging environment' do
let(:sentry) { instance_double(QA::Support::SystemLogs::Sentry, url: nil) }
let(:kibana) do
- instance_double(QA::Support::SystemLogs::Kibana,
- discover_url: discover_url, dashboard_url: dashboard_url)
+ instance_double(
+ QA::Support::SystemLogs::Kibana,
+ discover_url: discover_url,
+ dashboard_url: dashboard_url
+ )
end
it 'returns only Kibana Discover and Dashboard URLs' do