Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- describe("TODO List", function() {
- beforeEach(function() {
- storage = new TestCookieStorage;
- tasks = storage.load_tasks();
- users = storage.load_users();
- });
- it("loads tasks from storage", function() {
- expect(tasks.length).toEqual(1);
- });
- it("loads users from storage", function() {
- expect(users.length).toEqual(4);
- expect(users).toContain("Bartek Vladimir");
- });
- });
Add Comment
Please, Sign In to add comment