diff --git a/templates/view_spec.js.erb b/templates/view_spec.js.erb index c912d95..59708d6 100644 --- a/templates/view_spec.js.erb +++ b/templates/view_spec.js.erb @@ -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');