Commit 4f405cc2 authored by Markus Koller's avatar Markus Koller

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

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

See merge request gitlab-org/gitlab!58395
parents 6f30fe22 831e84a6
...@@ -455,9 +455,6 @@ RSpec/EmptyLineAfterFinalLetItBe: ...@@ -455,9 +455,6 @@ RSpec/EmptyLineAfterFinalLetItBe:
- ee/spec/features/issues/bulk_assignment_epic_spec.rb - ee/spec/features/issues/bulk_assignment_epic_spec.rb
- ee/spec/features/issues/user_uses_quick_actions_spec.rb - ee/spec/features/issues/user_uses_quick_actions_spec.rb
- ee/spec/features/markdown/metrics_spec.rb - ee/spec/features/markdown/metrics_spec.rb
- ee/spec/features/projects/issues/user_creates_issue_spec.rb
- ee/spec/features/projects/iterations/iterations_list_spec.rb
- ee/spec/features/projects/licenses/maintainer_views_policies_spec.rb
- ee/spec/features/registrations/group_invites_during_signup_flow_spec.rb - ee/spec/features/registrations/group_invites_during_signup_flow_spec.rb
- ee/spec/features/subscriptions_spec.rb - ee/spec/features/subscriptions_spec.rb
- ee/spec/graphql/ee/mutations/concerns/mutations/resolves_issuable_spec.rb - ee/spec/graphql/ee/mutations/concerns/mutations/resolves_issuable_spec.rb
......
---
title: Fix RSpec/EmptyLineAfterFinalLetItBe rubocop offenses in ee/spec/features/projects
merge_request: 58395
author: Abdul Wadood @abdulwd
type: fixed
...@@ -7,6 +7,7 @@ RSpec.describe 'Iterations list', :js do ...@@ -7,6 +7,7 @@ RSpec.describe 'Iterations list', :js do
let_it_be(:group) { create(:group) } let_it_be(:group) { create(:group) }
let_it_be(:project) { create(:project, :public, group: group) } let_it_be(:project) { create(:project, :public, group: group) }
let_it_be(:user) { create(:user) } let_it_be(:user) { create(:user) }
let!(:started_iteration) { create(:iteration, :skip_future_date_validation, group: group, start_date: now - 1.day, due_date: now, title: 'Started iteration') } let!(:started_iteration) { create(:iteration, :skip_future_date_validation, group: group, start_date: now - 1.day, due_date: now, title: 'Started iteration') }
let!(:upcoming_iteration) { create(:iteration, group: group, start_date: now + 1.day, due_date: now + 2.days) } let!(:upcoming_iteration) { create(:iteration, group: group, start_date: now + 1.day, due_date: now + 2.days) }
let!(:closed_iteration) { create(:closed_iteration, :skip_future_date_validation, group: group, start_date: now - 3.days, due_date: now - 2.days) } let!(:closed_iteration) { create(:closed_iteration, :skip_future_date_validation, group: group, start_date: now - 3.days, due_date: now - 2.days) }
......
...@@ -29,6 +29,7 @@ RSpec.describe 'EE > Projects > Licenses > Maintainer views policies', :js do ...@@ -29,6 +29,7 @@ RSpec.describe 'EE > Projects > Licenses > Maintainer views policies', :js do
let_it_be(:mit) { create(:software_license, :mit) } let_it_be(:mit) { create(:software_license, :mit) }
let_it_be(:mit_policy) { create(:software_license_policy, :denied, software_license: mit, project: project) } let_it_be(:mit_policy) { create(:software_license_policy, :denied, software_license: mit, project: project) }
let_it_be(:pipeline) { create(:ee_ci_pipeline, project: project, builds: [create(:ee_ci_build, :license_scan_v2, :success)]) } let_it_be(:pipeline) { create(:ee_ci_pipeline, project: project, builds: [create(:ee_ci_build, :license_scan_v2, :success)]) }
let(:report) { Gitlab::Json.parse(fixture_file('security_reports/gl-license-scanning-report-v2.json', dir: 'ee')) } let(:report) { Gitlab::Json.parse(fixture_file('security_reports/gl-license-scanning-report-v2.json', dir: 'ee')) }
let(:known_licenses) { report['licenses'].find_all { |license| license['url'].present? } } let(:known_licenses) { report['licenses'].find_all { |license| license['url'].present? } }
......
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