introduce Enum

This commit is contained in:
Gosha Arinich
2013-03-01 15:07:44 +03:00
parent 0c8c41b131
commit 0c99dea153
45 changed files with 242 additions and 216 deletions

View File

@ -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