mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 17:40:43 +08:00
introduce Enum
This commit is contained in:
@ -77,7 +77,7 @@ describe Notification do
|
||||
end
|
||||
|
||||
it 'should create a private message notification' do
|
||||
@target.notifications.first.notification_type.should == Notification.Types[:private_message]
|
||||
@target.notifications.first.notification_type.should == Notification.types[:private_message]
|
||||
end
|
||||
|
||||
it 'should not add a pm notification for the creator' do
|
||||
|
Reference in New Issue
Block a user