Last active
December 11, 2015 20:59
-
-
Save Jon-Biz/4659516 to your computer and use it in GitHub Desktop.
module start example
This file contains 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
describe("A Page collection with fake data",function(){ | |
var Data, Pages; | |
Data = App.module("Data"); | |
Data.start(); | |
beforeEach(function(){ | |
var fakedata = [{"title":"Wine List" | |
,"description":"gallery"}] | |
Pages = new Data.PageCollection(fakedata); | |
}); | |
it('should have a length other than zero',function(){ | |
expect(Pages.length).not.toEqual(0); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment