spec/ember_factory_spec.js in kojac-0.9.1 vs spec/ember_factory_spec.js in kojac-0.11.0
- old
+ new
@@ -25,10 +25,10 @@
message: 'some message'
},
nothing: null
};
- var emberObject = factory.emberObjectFactory(source,'order_item__51');
+ var emberObject = factory.manufacture(source,'order_item__51');
expect(emberObject).toBeDefined();
expect(emberObject.constructor).toBe(OrderItem);
expect(emberObject.id).toBe(source.id);
expect(emberObject.name).toBe(source.name);
expect(emberObject.enabled).toBe(source.enabled);