diff options
Diffstat (limited to 'spec/services/note_summary_spec.rb')
-rw-r--r-- | spec/services/note_summary_spec.rb | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/spec/services/note_summary_spec.rb b/spec/services/note_summary_spec.rb index 1cbbb68205d..f3233ef925e 100644 --- a/spec/services/note_summary_spec.rb +++ b/spec/services/note_summary_spec.rb @@ -24,8 +24,13 @@ RSpec.describe NoteSummary, feature_category: :code_review_workflow do describe '#note' do it 'returns note hash' do freeze_time do - expect(create_note_summary.note).to eq(noteable: noteable, project: project, author: user, note: 'note', - created_at: Time.current) + expect(create_note_summary.note).to eq( + noteable: noteable, + project: project, + author: user, + note: 'note', + created_at: Time.current + ) end end |