From 8f0973c6b92068571ad137d426a288abb962c429 Mon Sep 17 00:00:00 2001 From: Nick Uraltsev Date: Tue, 9 Aug 2016 23:23:08 -0700 Subject: [PATCH] Fixing failing test --- test/specs/instance.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/specs/instance.spec.js b/test/specs/instance.spec.js index b866415..4fac13d 100644 --- a/test/specs/instance.spec.js +++ b/test/specs/instance.spec.js @@ -6,12 +6,12 @@ describe('instance', function () { afterEach(function () { jasmine.Ajax.uninstall(); }); - + it('should have the same methods as default instance', function () { var instance = axios.create(); for (var prop in axios) { - if (['Axios', 'create', 'all', 'spread'].indexOf(prop) > -1) { + if (['Axios', 'create', 'all', 'spread', 'default'].indexOf(prop) > -1) { continue; } expect(typeof instance[prop]).toBe(typeof axios[prop]);