Commit 4e7f0846 authored by David O'Regan's avatar David O'Regan

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

Fix RSpec/EmptyLineAfterFinalLetItBe for ee/spec/views

See merge request gitlab-org/gitlab!58280
parents a05a905e 199343e0
......@@ -643,12 +643,6 @@ RSpec/EmptyLineAfterFinalLetItBe:
- ee/spec/support/shared_examples/graphql/mutations/set_multiple_assignees_shared_examples.rb
- ee/spec/support/shared_examples/quick_actions/issue/status_page_quick_actions_shared_examples.rb
- ee/spec/support/shared_examples/services/search_notes_shared_examples.rb
- ee/spec/views/admin/application_settings/_elasticsearch_form.html.haml_spec.rb
- ee/spec/views/groups/_compliance_frameworks.html.haml_spec.rb
- ee/spec/views/groups/edit.html.haml_spec.rb
- ee/spec/views/projects/pipelines/_tabs_content.html.haml_spec.rb
- ee/spec/views/shared/billings/_eoa_bronze_plan_banner.html.haml_spec.rb
- ee/spec/views/shared/billings/_trial_status.html.haml_spec.rb
- spec/controllers/confirmations_controller_spec.rb
- spec/controllers/dashboard/projects_controller_spec.rb
- spec/controllers/invites_controller_spec.rb
......
---
title: Fix RSpec/EmptyLineAfterFinalLetItBe rubocop offenses in ee/spec/views
merge_request: 58280
author: Abdul Wadood @abdulwd
type: fixed
......@@ -4,6 +4,7 @@ require 'spec_helper'
RSpec.describe 'admin/application_settings/_elasticsearch_form' do
let_it_be(:admin) { create(:admin) }
let(:page) { Capybara::Node::Simple.new(rendered) }
let(:pause_indexing) { false }
let(:pending_migrations) { false }
......
......@@ -4,6 +4,7 @@ require 'spec_helper'
RSpec.describe 'groups/_compliance_frameworks.html.haml' do
let_it_be(:group) { build(:group) }
let(:title) { 'Compliance frameworks' }
let(:description) { 'Configure frameworks to apply enforceable rules to projects.' }
......
......@@ -4,6 +4,7 @@ require 'spec_helper'
RSpec.describe 'groups/edit.html.haml' do
let_it_be(:user) { create(:user) }
let(:group) { create(:group) }
before do
......
......@@ -4,6 +4,7 @@ require 'spec_helper'
RSpec.describe 'projects/pipelines/_tabs_content' do
let_it_be(:user) { create(:user) }
let(:pipeline) { create(:ci_pipeline).present(current_user: user) }
let(:locals) { { pipeline: pipeline, project: pipeline.project } }
......
......@@ -4,6 +4,7 @@ require 'spec_helper'
RSpec.describe 'shared/billings/_eoa_bronze_plan_banner.html.haml' do
let_it_be(:user) { create(:user) }
let(:eoa_bronze_plan_end_date) { Date.current + 5.days}
stub_feature_flags(show_billing_eoa_banner: true)
......
......@@ -6,6 +6,7 @@ RSpec.describe 'shared/billings/_trial_status.html.haml' do
include ApplicationHelper
let_it_be(:group) { create(:group) }
let(:plan) { nil }
let(:trial_ends_on) { nil }
let(:trial) { false }
......
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