Commit 584f37f
Changed files (3)
app
models
tests
unit
models
app/models/tutorial.js
@@ -6,4 +6,4 @@ export default DS.Model.extend({
url: DS.attr('string'),
imageUrl: DS.attr('string'),
author: DS.belongsTo('user')
-})
+});
tests/unit/models/cake-test.js
@@ -5,7 +5,7 @@ import {
moduleForModel('cake', 'Cake', {
// Specify the other units that are required for this test.
- needs: []
+ needs: ['model:category', 'model:user', 'model:photo']
});
test('it exists', function() {
tests/unit/models/tutorial-test.js
@@ -5,7 +5,7 @@ import {
moduleForModel('tutorial', 'Tutorial', {
// Specify the other units that are required for this test.
- needs: []
+ needs: ['model:user']
});
test('it exists', function() {