Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/services/todo_service_spec.rb')
-rw-r--r--spec/services/todo_service_spec.rb20
1 files changed, 12 insertions, 8 deletions
diff --git a/spec/services/todo_service_spec.rb b/spec/services/todo_service_spec.rb
index 32e17df4d69..0888c27aab2 100644
--- a/spec/services/todo_service_spec.rb
+++ b/spec/services/todo_service_spec.rb
@@ -1109,19 +1109,23 @@ RSpec.describe TodoService, feature_category: :team_planning do
end
let(:note) do
- build(:diff_note_on_design,
- noteable: design,
- author: author,
- note: "Hey #{john_doe.to_reference}")
+ build(
+ :diff_note_on_design,
+ noteable: design,
+ author: author,
+ note: "Hey #{john_doe.to_reference}"
+ )
end
it 'creates a todo for mentioned user on new diff note' do
service.new_note(note, author)
- should_create_todo(user: john_doe,
- target: design,
- action: Todo::MENTIONED,
- note: note)
+ should_create_todo(
+ user: john_doe,
+ target: design,
+ action: Todo::MENTIONED,
+ note: note
+ )
end
end