Guest User

Untitled

a guest
Jan 23rd, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. describe("TODO List", function() {
  2. beforeEach(function() {
  3. storage = new TestCookieStorage;
  4. tasks = storage.load_tasks();
  5. users = storage.load_users();
  6. });
  7.  
  8. it("loads tasks from storage", function() {
  9. expect(tasks.length).toEqual(1);
  10. });
  11.  
  12. it("loads users from storage", function() {
  13. expect(users.length).toEqual(4);
  14. expect(users).toContain("Bartek Vladimir");
  15. });
  16. });
Add Comment
Please, Sign In to add comment