Commit e8a6430e authored by Huzaifa Iftikhar's avatar Huzaifa Iftikhar Committed by David O'Regan

Fix EmptyLineAfterFinalLetItBe offenses in spec/services/boards

parent 3c50a67b
...@@ -896,8 +896,6 @@ RSpec/EmptyLineAfterFinalLetItBe: ...@@ -896,8 +896,6 @@ RSpec/EmptyLineAfterFinalLetItBe:
- spec/services/audit_event_service_spec.rb - spec/services/audit_event_service_spec.rb
- spec/services/auth/dependency_proxy_authentication_service_spec.rb - spec/services/auth/dependency_proxy_authentication_service_spec.rb
- spec/services/auto_merge_service_spec.rb - spec/services/auto_merge_service_spec.rb
- spec/services/boards/destroy_service_spec.rb
- spec/services/boards/issues/move_service_spec.rb
- spec/services/bulk_create_integration_service_spec.rb - spec/services/bulk_create_integration_service_spec.rb
- spec/services/ci/change_variable_service_spec.rb - spec/services/ci/change_variable_service_spec.rb
- spec/services/ci/change_variables_service_spec.rb - spec/services/ci/change_variables_service_spec.rb
......
---
title: Fix EmptyLineAfterFinalLetItBe offenses in spec/services/boards
merge_request: 58413
author: Huzaifa Iftikhar @huzaifaiftikhar
type: fixed
...@@ -5,6 +5,7 @@ require 'spec_helper' ...@@ -5,6 +5,7 @@ require 'spec_helper'
RSpec.describe Boards::DestroyService do RSpec.describe Boards::DestroyService do
context 'with project board' do context 'with project board' do
let_it_be(:parent) { create(:project) } let_it_be(:parent) { create(:project) }
let(:boards) { parent.boards } let(:boards) { parent.boards }
let(:board_factory) { :board } let(:board_factory) { :board }
...@@ -13,6 +14,7 @@ RSpec.describe Boards::DestroyService do ...@@ -13,6 +14,7 @@ RSpec.describe Boards::DestroyService do
context 'with group board' do context 'with group board' do
let_it_be(:parent) { create(:group) } let_it_be(:parent) { create(:group) }
let(:boards) { parent.boards } let(:boards) { parent.boards }
let(:board_factory) { :board } let(:board_factory) { :board }
......
...@@ -62,6 +62,7 @@ RSpec.describe Boards::Issues::MoveService do ...@@ -62,6 +62,7 @@ RSpec.describe Boards::Issues::MoveService do
let_it_be(:testing) { create(:group_label, group: group, name: 'Testing') } let_it_be(:testing) { create(:group_label, group: group, name: 'Testing') }
let_it_be(:list1) { create(:list, board: board1, label: development, position: 0) } let_it_be(:list1) { create(:list, board: board1, label: development, position: 0) }
let_it_be(:list2) { create(:list, board: board1, label: testing, position: 1) } let_it_be(:list2) { create(:list, board: board1, label: testing, position: 1) }
let(:params) { { board_id: board1.id, from_list_id: list1.id, to_list_id: list2.id } } let(:params) { { board_id: board1.id, from_list_id: list1.id, to_list_id: list2.id } }
before do 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