lib/meducation_sdk/resources/notification.rb in meducation_sdk-0.5.0 vs lib/meducation_sdk/resources/notification.rb in meducation_sdk-0.6.0
- old
+ new
@@ -9,15 +9,15 @@
def user
@user ||= User.find(user_id)
end
end
- class NotificationMock < ItemComment
+ class NotificationMock < Notification
extend Loquor::ResourceMock
self.attributes = {
id: 1,
- notification: "foobar",
+ action: "comment_new",
user_id: 5,
item_id: 3,
item_type: "Comment"
}
end