Built motion from commit 3000230.|0.0.51
[motion.git] / public / bower_components / lodash / vendor / backbone / test / sync.js
index 7ae82a0..8813f15 100644 (file)
   QUnit.test('urlError', function(assert) {
     assert.expect(2);
     var model = new Backbone.Model();
-    assert.throws(function() {
+    assert.raises(function() {
       model.fetch();
     });
     model.fetch({url: '/one/two'});
     assert.expect(2);
     var model = new Backbone.Model;
     model.url = '/test';
-    model.on('error', function(model, xhr, options) {
+    model.on('error', function(m, xhr, options) {
       assert.strictEqual(options.textStatus, 'textStatus');
       assert.strictEqual(options.errorThrown, 'errorThrown');
     });