Commit 27a6a150 authored by James Fargher's avatar James Fargher

Manual fixups from rubocop run

Rubocop automatically put this confusingly below
parent 83654195
...@@ -336,9 +336,9 @@ describe Banzai::Filter::RelativeLinkFilter do ...@@ -336,9 +336,9 @@ describe Banzai::Filter::RelativeLinkFilter do
end end
context 'with a valid ref' do context 'with a valid ref' do
# force filter to use ref instead of commit
let(:commit) { nil } let(:commit) { nil }
# force filter to use ref instead of commit
include_examples :valid_repository include_examples :valid_repository
end end
......
...@@ -5,7 +5,6 @@ require 'spec_helper' ...@@ -5,7 +5,6 @@ require 'spec_helper'
describe Gitlab::Prometheus::Queries::DeploymentQuery do describe Gitlab::Prometheus::Queries::DeploymentQuery do
let(:environment) { create(:environment, slug: 'environment-slug') } let(:environment) { create(:environment, slug: 'environment-slug') }
let(:deployment) { create(:deployment, environment: environment) } let(:deployment) { create(:deployment, environment: environment) }
let(:client) { double('prometheus_client') } let(:client) { double('prometheus_client') }
subject { described_class.new(client) } subject { described_class.new(client) }
......
...@@ -7,7 +7,6 @@ describe Gitlab::Prometheus::Queries::KnativeInvocationQuery do ...@@ -7,7 +7,6 @@ describe Gitlab::Prometheus::Queries::KnativeInvocationQuery do
let(:project) { create(:project) } let(:project) { create(:project) }
let(:serverless_func) { Serverless::Function.new(project, 'test-name', 'test-ns') } let(:serverless_func) { Serverless::Function.new(project, 'test-name', 'test-ns') }
let(:client) { double('prometheus_client') } let(:client) { double('prometheus_client') }
subject { described_class.new(client) } subject { described_class.new(client) }
......
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