diff options
Diffstat (limited to 'spec/requests/api/graphql/project/environments_spec.rb')
-rw-r--r-- | spec/requests/api/graphql/project/environments_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/api/graphql/project/environments_spec.rb b/spec/requests/api/graphql/project/environments_spec.rb index 3a863bd3d77..94ce6b797cd 100644 --- a/spec/requests/api/graphql/project/environments_spec.rb +++ b/spec/requests/api/graphql/project/environments_spec.rb @@ -150,7 +150,7 @@ RSpec.describe 'Project Environments query', feature_category: :continuous_deliv end describe 'last deployments of environments' do - ::Deployment.statuses.each do |status, _| # rubocop:disable RSpec/UselessDynamicDefinition + ::Deployment.statuses.each_key do |status| # rubocop:disable RSpec/UselessDynamicDefinition -- `status` used in `let_it_be` let_it_be(:"production_#{status}_deployment") do create(:deployment, status.to_sym, environment: production, project: project) end |