spec/item_spec.rb in activity_feed-1.2.1 vs spec/item_spec.rb in activity_feed-1.3.0

- old
+ new

@@ -47,9 +47,9 @@ end it 'should output all the attributes for an item for Ohm' do item = Fabricate.build(ActivityFeed::Ohm::Item) - hash = JSON.parse(JSON.generate(item)) + hash = JSON.parse(item.to_json) hash.keys.size.should be(8) end end \ No newline at end of file