Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Require.js and Jasmine
], function(Todo, Todos) {
describe("Todo", function() {
it("should set an attribute", function() {
var todo = new Todo({ title: "Do washing" });
expect(todo.get("title")).toEqual("Do washing");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment