spec/unit/intercom/message_thread_spec.rb in intercom-0.1.12 vs spec/unit/intercom/message_thread_spec.rb in intercom-0.1.13
- old
+ new
@@ -66,9 +66,9 @@
from_1 = test_message['messages'][1]['from']
message_thread.messages[1].from.email.must_equal from_1['email']
message_thread.messages[1].from.name.must_equal from_1['name']
message_thread.messages[1].from.admin?.must_equal from_1['is_admin']
message_thread.messages[1].from.user_id.must_equal from_1['user_id']
- message_thread.messages[1].from.avatar_path_50.must_equal from_1['avatar_path_50']
+ message_thread.messages[1].from.avatar_path_50.must_equal from_1['avatar']['square_50']
end
end
end
\ No newline at end of file