Commit 74874f95 authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch 'rspec-empty-line-after-letitbe-ee-spec-presenters' into 'master'

Fix RSpec/EmptyLineAfterFinalLetItBe for ee/spec/presenters

See merge request gitlab-org/gitlab!58369
parents deb301dd f81a9378
...@@ -517,8 +517,6 @@ RSpec/EmptyLineAfterFinalLetItBe: ...@@ -517,8 +517,6 @@ RSpec/EmptyLineAfterFinalLetItBe:
- ee/spec/policies/merge_request_policy_spec.rb - ee/spec/policies/merge_request_policy_spec.rb
- ee/spec/policies/project_policy_spec.rb - ee/spec/policies/project_policy_spec.rb
- ee/spec/policies/vulnerabilities/issue_link_policy_spec.rb - ee/spec/policies/vulnerabilities/issue_link_policy_spec.rb
- ee/spec/presenters/approval_rule_presenter_spec.rb
- ee/spec/presenters/ci/pipeline_presenter_spec.rb
- ee/spec/requests/api/analytics/code_review_analytics_spec.rb - ee/spec/requests/api/analytics/code_review_analytics_spec.rb
- ee/spec/requests/api/audit_events_spec.rb - ee/spec/requests/api/audit_events_spec.rb
- ee/spec/requests/api/commits_spec.rb - ee/spec/requests/api/commits_spec.rb
......
---
title: Fix RSpec/EmptyLineAfterFinalLetItBe rubocop offenses in ee/spec/presenters
merge_request: 58369
author: Abdul Wadood @abdulwd
type: fixed
...@@ -6,6 +6,7 @@ RSpec.describe ApprovalRulePresenter do ...@@ -6,6 +6,7 @@ RSpec.describe ApprovalRulePresenter do
let_it_be(:user) { create(:user) } let_it_be(:user) { create(:user) }
let_it_be(:public_group) { create(:group) } let_it_be(:public_group) { create(:group) }
let_it_be(:private_group) { create(:group, :private) } let_it_be(:private_group) { create(:group, :private) }
let(:groups) { [public_group, private_group] } let(:groups) { [public_group, private_group] }
subject(:presenter) { described_class.new(rule, current_user: user) } subject(:presenter) { described_class.new(rule, current_user: user) }
......
...@@ -148,6 +148,7 @@ RSpec.describe Ci::PipelinePresenter do ...@@ -148,6 +148,7 @@ RSpec.describe Ci::PipelinePresenter do
describe '#degradation_threshold' do describe '#degradation_threshold' do
let_it_be(:pipeline, reload: true) { create(:ee_ci_pipeline, :with_browser_performance_report, project: project) } let_it_be(:pipeline, reload: true) { create(:ee_ci_pipeline, :with_browser_performance_report, project: project) }
let(:current_user) { create(:user) } let(:current_user) { create(:user) }
before do before do
......
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