Commit 5c0a2cde authored by Huzaifa Iftikhar's avatar Huzaifa Iftikhar Committed by Mayra Cabrera

Fix EmptyLineAfterFinalLetItBe offenses in spec/services/feature_flags

parent 3c50a67b
...@@ -926,11 +926,6 @@ RSpec/EmptyLineAfterFinalLetItBe: ...@@ -926,11 +926,6 @@ RSpec/EmptyLineAfterFinalLetItBe:
- spec/services/dependency_proxy/find_or_create_manifest_service_spec.rb - spec/services/dependency_proxy/find_or_create_manifest_service_spec.rb
- spec/services/discussions/resolve_service_spec.rb - spec/services/discussions/resolve_service_spec.rb
- spec/services/discussions/unresolve_service_spec.rb - spec/services/discussions/unresolve_service_spec.rb
- spec/services/feature_flags/create_service_spec.rb
- spec/services/feature_flags/destroy_service_spec.rb
- spec/services/feature_flags/disable_service_spec.rb
- spec/services/feature_flags/enable_service_spec.rb
- spec/services/feature_flags/update_service_spec.rb
- spec/services/git/branch_push_service_spec.rb - spec/services/git/branch_push_service_spec.rb
- spec/services/import/bitbucket_server_service_spec.rb - spec/services/import/bitbucket_server_service_spec.rb
- spec/services/incident_management/incidents/create_service_spec.rb - spec/services/incident_management/incidents/create_service_spec.rb
......
---
title: Fix EmptyLineAfterFinalLetItBe offenses in spec/services/feature_flags
merge_request: 58419
author: Huzaifa Iftikhar @huzaifaiftikhar
type: fixed
...@@ -6,6 +6,7 @@ RSpec.describe FeatureFlags::CreateService do ...@@ -6,6 +6,7 @@ RSpec.describe FeatureFlags::CreateService do
let_it_be(:project) { create(:project) } let_it_be(:project) { create(:project) }
let_it_be(:developer) { create(:user) } let_it_be(:developer) { create(:user) }
let_it_be(:reporter) { create(:user) } let_it_be(:reporter) { create(:user) }
let(:user) { developer } let(:user) { developer }
before_all do before_all do
......
...@@ -8,6 +8,7 @@ RSpec.describe FeatureFlags::DestroyService do ...@@ -8,6 +8,7 @@ RSpec.describe FeatureFlags::DestroyService do
let_it_be(:project) { create(:project) } let_it_be(:project) { create(:project) }
let_it_be(:developer) { create(:user) } let_it_be(:developer) { create(:user) }
let_it_be(:reporter) { create(:user) } let_it_be(:reporter) { create(:user) }
let(:user) { developer } let(:user) { developer }
let!(:feature_flag) { create(:operations_feature_flag, project: project) } let!(:feature_flag) { create(:operations_feature_flag, project: project) }
......
...@@ -7,6 +7,7 @@ RSpec.describe FeatureFlags::DisableService do ...@@ -7,6 +7,7 @@ RSpec.describe FeatureFlags::DisableService do
let_it_be(:project) { create(:project) } let_it_be(:project) { create(:project) }
let_it_be(:user) { create(:user) } let_it_be(:user) { create(:user) }
let(:params) { {} } let(:params) { {} }
let(:service) { described_class.new(project, user, params) } let(:service) { described_class.new(project, user, params) }
......
...@@ -7,6 +7,7 @@ RSpec.describe FeatureFlags::EnableService do ...@@ -7,6 +7,7 @@ RSpec.describe FeatureFlags::EnableService do
let_it_be(:project) { create(:project) } let_it_be(:project) { create(:project) }
let_it_be(:user) { create(:user) } let_it_be(:user) { create(:user) }
let(:params) { {} } let(:params) { {} }
let(:service) { described_class.new(project, user, params) } let(:service) { described_class.new(project, user, params) }
......
...@@ -6,6 +6,7 @@ RSpec.describe FeatureFlags::UpdateService do ...@@ -6,6 +6,7 @@ RSpec.describe FeatureFlags::UpdateService do
let_it_be(:project) { create(:project) } let_it_be(:project) { create(:project) }
let_it_be(:developer) { create(:user) } let_it_be(:developer) { create(:user) }
let_it_be(:reporter) { create(:user) } let_it_be(:reporter) { create(:user) }
let(:user) { developer } let(:user) { developer }
let(:feature_flag) { create(:operations_feature_flag, project: project, active: true) } let(:feature_flag) { create(:operations_feature_flag, project: project, active: true) }
......
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