mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
use consistent style
This commit is contained in:
@ -173,14 +173,14 @@ describe Notification do
|
|||||||
user_id: user.id,
|
user_id: user.id,
|
||||||
topic_id: 2,
|
topic_id: 2,
|
||||||
post_number: 1,
|
post_number: 1,
|
||||||
data: {}.to_json,
|
data: '{}',
|
||||||
notification_type: Notification.types[:private_message])
|
notification_type: Notification.types[:private_message])
|
||||||
|
|
||||||
other = Notification.create!(read: false,
|
other = Notification.create!(read: false,
|
||||||
user_id: user.id,
|
user_id: user.id,
|
||||||
topic_id: 2,
|
topic_id: 2,
|
||||||
post_number: 1,
|
post_number: 1,
|
||||||
data: {}.to_json,
|
data: '{}',
|
||||||
notification_type: Notification.types[:mentioned])
|
notification_type: Notification.types[:mentioned])
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user