ES6: Convert all test files over

This commit is contained in:
Robin Ward
2014-08-06 17:50:39 -04:00
parent 1530f33833
commit f977843391
52 changed files with 0 additions and 0 deletions

View File

@ -0,0 +1,11 @@
moduleFor("view:header");
test("showNotifications", function() {
var controllerSpy = {
send: sinon.spy()
};
var view = this.subject({controller: controllerSpy});
view.showNotifications();
ok(controllerSpy.send.calledWith("showNotifications", view), "sends showNotifications message to the controller, passing header view as a param");
});