tyop
This commit is contained in:
parent
97efc633de
commit
ed9a824c37
|
@ -27,7 +27,7 @@ describe('<%= object_name %>View', function() {
|
||||||
expect(view.$('button.save')).toHaveText('Update');
|
expect(view.$('button.save')).toHaveText('Update');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should destroy the model' function() {
|
it('should destroy the model', function() {
|
||||||
spyOn(window, 'confirm').andReturn(true);
|
spyOn(window, 'confirm').andReturn(true);
|
||||||
spyOn(model, 'destroy');
|
spyOn(model, 'destroy');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue