Commit 7bae38e0 authored by Vitali Tatarintev's avatar Vitali Tatarintev

Merge branch 'pl-kwargs-warnings-prometheus' into 'master'

Fix Ruby 2.7 kwarg warnings for Prometheus specs

See merge request gitlab-org/gitlab!43819
parents dacbafe6 d3d2ffda
......@@ -4,12 +4,12 @@ require 'spec_helper'
RSpec.describe Gitlab::Prometheus::QueryVariables do
describe '.call' do
let_it_be_with_refind(:environment) { create(:environment) }
let(:project) { environment.project }
let(:environment) { create(:environment) }
let(:slug) { environment.slug }
let(:params) { {} }
subject { described_class.call(environment, params) }
subject { described_class.call(environment, **params) }
it { is_expected.to include(ci_environment_slug: slug) }
it { is_expected.to include(ci_project_name: project.name) }
......
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