Commit c9d1855d authored by Abdul Wadood's avatar Abdul Wadood Committed by Dylan Griffith

Fix RSpec/EmptyLineAfterFinalLetItBe in todo_service_spec.rb

parent 6853eeb8
...@@ -592,7 +592,6 @@ RSpec/EmptyLineAfterFinalLetItBe: ...@@ -592,7 +592,6 @@ RSpec/EmptyLineAfterFinalLetItBe:
- ee/spec/services/requirements_management/update_requirement_service_spec.rb - ee/spec/services/requirements_management/update_requirement_service_spec.rb
- ee/spec/services/resource_access_tokens/create_service_spec.rb - ee/spec/services/resource_access_tokens/create_service_spec.rb
- ee/spec/services/resource_access_tokens/revoke_service_spec.rb - ee/spec/services/resource_access_tokens/revoke_service_spec.rb
- ee/spec/services/todo_service_spec.rb
- ee/spec/support/shared_examples/graphql/geo/geo_registries_resolver_shared_examples.rb - ee/spec/support/shared_examples/graphql/geo/geo_registries_resolver_shared_examples.rb
- ee/spec/support/shared_examples/graphql/mutations/set_multiple_assignees_shared_examples.rb - 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/quick_actions/issue/status_page_quick_actions_shared_examples.rb
......
---
title: Fix RSpec/EmptyLineAfterFinalLetItBe rubocop offenses in todo_service_spec.rb
merge_request: 58310
author: Abdul Wadood @abdulwd
type: fixed
...@@ -10,6 +10,7 @@ RSpec.describe TodoService do ...@@ -10,6 +10,7 @@ RSpec.describe TodoService do
let_it_be(:admin) { create(:admin, username: 'administrator') } let_it_be(:admin) { create(:admin, username: 'administrator') }
let_it_be(:john_doe) { create(:user, username: 'john_doe') } let_it_be(:john_doe) { create(:user, username: 'john_doe') }
let_it_be(:skipped) { create(:user, username: 'skipped') } let_it_be(:skipped) { create(:user, username: 'skipped') }
let(:skip_users) { [skipped] } let(:skip_users) { [skipped] }
let(:service) { described_class.new } let(:service) { described_class.new }
...@@ -22,6 +23,7 @@ RSpec.describe TodoService do ...@@ -22,6 +23,7 @@ RSpec.describe TodoService do
let(:description_directly_addressed) { "#{mentions}\n- [ ] Task 1\n- [ ] Task 2" } let(:description_directly_addressed) { "#{mentions}\n- [ ] Task 1\n- [ ] Task 2" }
let_it_be(:group, reload: true) { create(:group) } let_it_be(:group, reload: true) { create(:group) }
let(:epic) { create(:epic, group: group, author: author, description: description_mentions) } let(:epic) { create(:epic, group: group, author: author, description: description_mentions) }
let(:todos_for) { [] } let(:todos_for) { [] }
......
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