diff options
Diffstat (limited to 'spec/support/shared_examples/models/label_note_shared_examples.rb')
-rw-r--r-- | spec/support/shared_examples/models/label_note_shared_examples.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/support/shared_examples/models/label_note_shared_examples.rb b/spec/support/shared_examples/models/label_note_shared_examples.rb index f61007f57fd..3facd533d7a 100644 --- a/spec/support/shared_examples/models/label_note_shared_examples.rb +++ b/spec/support/shared_examples/models/label_note_shared_examples.rb @@ -30,6 +30,8 @@ RSpec.shared_examples 'label note created from events' do expect(note.noteable).to eq event.issuable expect(note.note).to be_present expect(note.note_html).to be_present + expect(note.created_at).to eq create_event.created_at + expect(note.updated_at).to eq create_event.created_at end it 'updates markdown cache if reference is not set yet' do |