spec/ember_factory_spec.js in kojac-0.11.0 vs spec/ember_factory_spec.js in kojac-0.12.0
- old
+ new
@@ -69,10 +69,10 @@
},
nothing: null
}
];
- var emberObjects = factory.emberObjectFactoryArray(source,'order_item');
+ var emberObjects = factory.manufacture(source,'order_item');
var emberObject = emberObjects[0];
expect(emberObject).toBeDefined();
expect(emberObject.constructor).toBe(OrderItem);
expect(emberObject.id).toBe(source[0].id);
expect(emberObject.name).toBe(source[0].name);