Commit 80b6ba1b authored by Kerri Miller's avatar Kerri Miller

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

Fix RSpec/EmptyLineAfterFinalLetItBe for ee/spec/requests/projects

See merge request gitlab-org/gitlab!58365
parents 449d242e 349a99ec
......@@ -606,9 +606,6 @@ RSpec/EmptyLineAfterFinalLetItBe:
- ee/spec/requests/api/wikis_spec.rb
- ee/spec/requests/callout_spec.rb
- ee/spec/requests/git_http_geo_spec.rb
- ee/spec/requests/projects/issues_controller_spec.rb
- ee/spec/requests/projects/on_demand_scans_controller_spec.rb
- ee/spec/requests/projects/security/scanned_resources_controller_spec.rb
- ee/spec/requests/repositories/git_http_controller_spec.rb
- ee/spec/serializers/clusters/environment_serializer_spec.rb
- ee/spec/serializers/dependency_entity_spec.rb
......
---
title: Fix RSpec/EmptyLineAfterFinalLetItBe rubocop offenses in ee/spec/requests/projects
merge_request: 58365
author: Abdul Wadood @abdulwd
type: fixed
......@@ -60,6 +60,7 @@ RSpec.describe Projects::IssuesController do
context 'when listing epic issues' do
let_it_be(:epic) { create(:epic, group: group) }
let_it_be(:subepic) { create(:epic, group: group, parent: epic) }
let(:params) { { epic_id: epic.id, include_subepics: true } }
before do
......
......@@ -6,6 +6,7 @@ RSpec.describe Projects::OnDemandScansController, type: :request do
include GraphqlHelpers
let_it_be(:project) { create(:project) }
let(:user) { create(:user) }
shared_examples 'on-demand scans page' do
......
......@@ -10,6 +10,7 @@ RSpec.describe Projects::Security::ScannedResourcesController, type: :request do
let_it_be(:pipeline_without_scan) { create(:ci_pipeline, project: project) }
let_it_be(:pipeline_on_another_project) { create(:ci_pipeline) }
let_it_be(:pipeline_id) { pipeline.id }
let(:parsed_csv_data) { CSV.parse(response.body, headers: true) }
subject(:request) { get project_security_scanned_resources_path(project, :csv, pipeline_id: pipeline_id) }
......
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