mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 03:06:14 +02:00
Rename notifications.queued
to read
This commit is contained in:
parent
dfff6f6d12
commit
7a9a7c052f
11 changed files with 30 additions and 23 deletions
|
@ -19,9 +19,9 @@ class NotificationTest < ActiveSupport::TestCase
|
|||
assert @notification.invalid?
|
||||
end
|
||||
|
||||
def test_dequeue
|
||||
@notification.dequeue
|
||||
def test_mark_as_read
|
||||
@notification.mark_as_read
|
||||
@notification.reload
|
||||
assert_not @notification.queued?
|
||||
assert @notification.read?
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue