chore: Get all notification API improvments (#8549)
Co-authored-by: Sojan Jose <sojan@chatwoot.com>
This commit is contained in:
@@ -16,8 +16,8 @@ RSpec.describe Notification do
|
||||
create(:notification)
|
||||
notification3 = create(:notification)
|
||||
|
||||
expect(described_class.all.first).to eq notification3
|
||||
expect(described_class.all.last).to eq notification1
|
||||
expect(described_class.all.first).to eq notification1
|
||||
expect(described_class.all.last).to eq notification3
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user