This commit is contained in:
John Bintz 2011-05-03 15:57:57 -04:00
parent 97efc633de
commit ed9a824c37
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ describe('<%= object_name %>View', function() {
expect(view.$('button.save')).toHaveText('Update');
});
it('should destroy the model' function() {
it('should destroy the model', function() {
spyOn(window, 'confirm').andReturn(true);
spyOn(model, 'destroy');