Permalink
Browse files

Remove coffeescript semicolons; format consistently

  • Loading branch information...
1 parent 7c588e0 commit 2e55c2d20659eb785181d1b424bbeda6ff6f7d59 @nilbus committed May 3, 2015
Showing with 7 additions and 13 deletions.
  1. +7 −13 spec/dualsync_spec.coffee
@@ -344,20 +344,14 @@ describe 'when to call user-specified success and error callbacks', ->
dualsync('create', model, error: (-> ready = true), errorStatus: 500)
waitsFor (-> ready), "The error callback should have been called", 100
-
-
it 'when a model with a temp id has been destroyed', ->
- modelWithTempId = new collection.model();
- modelWithTempId.url = "http://test.ch/";
-
- modelWithTempId.save({}, { remote: false });
- spyOnLocalsync();
-
- successSpy = jasmine.createSpy("successHandler");
-
- modelWithTempId.destroy({ success: successSpy });
-
- expect(successSpy).toHaveBeenCalled();
+ modelWithTempId = new collection.model()
+ modelWithTempId.url = "http://test.ch/"
+ modelWithTempId.save({}, { remote: false })
+ spyOnLocalsync()
+ successSpy = jasmine.createSpy("successHandler")
+ modelWithTempId.destroy({ success: successSpy })
+ expect(successSpy).toHaveBeenCalled()
describe 'when offline', ->
it 'uses the error callback if no existing local store is found', ->

0 comments on commit 2e55c2d

Please sign in to comment.