Sha256: 26fcdcd77f86c5a249a8cee59adec20fc309937833c2f1fa496352e91c3a3783
Contents?: true
Size: 838 Bytes
Versions: 23
Compression:
Stored size: 838 Bytes
Contents
define(["js/model/user"],function(e){describe("The User represents a user in the system.",function(){var t=new e;it("should be defined",function(){expect(t).toBeDefined()}),describe("The User object should have the following defined attributes.",function(){it("should have a defined url route /user",function(){expect(t.url).toEqual("/user")})}),describe("The User object should have the following defined backbone attributes.",function(){it("should have an id",function(){expect(t.get("id")).toBeDefined()}),it("should have an email",function(){expect(t.get("email")).toBeDefined()}),it("should have a firstName",function(){expect(t.get("firstName")).toBeDefined()}),it("should have a lastName",function(){expect(t.get("lastName")).toBeDefined()}),it("should have a lastLogin",function(){expect(t.get("lastLogin")).toBeDefined()})})})});
Version data entries
23 entries across 23 versions & 1 rubygems