Created
July 23, 2012 15:39
-
-
Save froots/3164285 to your computer and use it in GitHub Desktop.
Require.js and Jasmine
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define([ | |
"modules/todo", | |
"modules/todos" | |
], 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