Commit f81a9378 authored by Abdul Wadood's avatar Abdul Wadood Committed by Mayra Cabrera

Fix RSpec/EmptyLineAfterFinalLetItBe for ee/spec/presenters

parent 143bbd46
......@@ -642,8 +642,6 @@ RSpec/EmptyLineAfterFinalLetItBe:
- ee/spec/policies/merge_request_policy_spec.rb
- ee/spec/policies/project_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/audit_events_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
let_it_be(:user) { create(:user) }
let_it_be(:public_group) { create(:group) }
let_it_be(:private_group) { create(:group, :private) }
let(:groups) { [public_group, private_group] }
subject(:presenter) { described_class.new(rule, current_user: user) }
......
......@@ -148,6 +148,7 @@ RSpec.describe Ci::PipelinePresenter do
describe '#degradation_threshold' do
let_it_be(:pipeline, reload: true) { create(:ee_ci_pipeline, :with_browser_performance_report, project: project) }
let(:current_user) { create(:user) }
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