Commit 584f37f

mo khan <mo@mokhan.ca>
2014-11-23 01:46:34
fix broken tests.
1 parent ece98fd
Changed files (3)
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() {