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

Version Path
rearview-1.2.3-jruby public/rearview/test/spec/model/user.js
rearview-1.2.2.rc.2-jruby public/rearview/test/spec/model/user.js
rearview-1.2.2.rc.1-jruby public/rearview/test/spec/model/user.js
rearview-1.2.1-jruby public/rearview/test/spec/model/user.js
rearview-1.2.0-jruby public/rearview/test/spec/model/user.js
rearview-1.1.2-jruby public/rearview/test/spec/model/user.js
rearview-1.1.1-jruby public/rearview/test/spec/model/user.js
rearview-1.1.0-jruby public/rearview/test/spec/model/user.js
rearview-1.0.3.rc.4-jruby public/rearview/test/spec/model/user.js
rearview-1.0.3.rc.3-jruby public/rearview/test/spec/model/user.js
rearview-1.0.3.rc.2-jruby public/rearview/test/spec/model/user.js
rearview-1.0.3.rc.1-jruby public/rearview/test/spec/model/user.js
rearview-1.0.2-jruby public/rearview/test/spec/model/user.js
rearview-1.0.2.rc.4-jruby public/rearview/test/spec/model/user.js
rearview-1.0.2.rc.3-jruby public/rearview/test/spec/model/user.js
rearview-1.0.2.rc.2-jruby public/rearview/test/spec/model/user.js
rearview-1.0.2.rc.1-jruby public/rearview/test/spec/model/user.js
rearview-1.0.1-jruby public/rearview/test/spec/model/user.js
rearview-1.0.0-jruby public/rearview/test/spec/model/user.js
rearview-1.0.0.rc5-jruby public/rearview/test/spec/model/user.js