Created
September 3, 2013 15:37
-
-
Save ordinz/6425552 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
describe('iFestivus Factories', function(){ | |
describe('"Fest" Factory', function(){ | |
beforeEach( | |
module('iFestivus') | |
); | |
it('should set the $rootscope.festival'); | |
it('should get the slug-id from the <html data-slug=""> attribute'); | |
it('should return a festival object'); | |
describe("dependsOn()", function(){ | |
it('should execute the callback, if the festival() is defined'); | |
describe("dependsOn(), fesitval defined", function(){ | |
it('should execute the callback'); | |
}); | |
describe("dependsOn(), fesitval undefined", function(){ | |
it('should execute the callback'); | |
it('should set the festival'); | |
}); | |
}); // end describe("dependsOn()" | |
}); // end describe('"Fest" Factory' | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment