From 6c3c9345df7cdc6b8fff0160a0467341e41c2024 Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 4 Feb 2014 12:57:52 +1100 Subject: [PATCH] use consistent style --- spec/models/notification_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/models/notification_spec.rb b/spec/models/notification_spec.rb index 652212a26b4..c206206dfbd 100644 --- a/spec/models/notification_spec.rb +++ b/spec/models/notification_spec.rb @@ -173,14 +173,14 @@ describe Notification do user_id: user.id, topic_id: 2, post_number: 1, - data: {}.to_json, + data: '{}', notification_type: Notification.types[:private_message]) other = Notification.create!(read: false, user_id: user.id, topic_id: 2, post_number: 1, - data: {}.to_json, + data: '{}', notification_type: Notification.types[:mentioned])