From 87401890a9330668bf5d949b8d6c0d57c1101cb0 Mon Sep 17 00:00:00 2001 From: SergioCrisostomo Date: Fri, 28 Feb 2014 16:59:37 +0100 Subject: [PATCH] bypass spec if on compat testing --- Specs/Types/Function.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Specs/Types/Function.js b/Specs/Types/Function.js index 7255ef98..e89e77e6 100644 --- a/Specs/Types/Function.js +++ b/Specs/Types/Function.js @@ -6,6 +6,7 @@ provides: ~ ... */ +var dit = /*<1.2compat>*/xit || /**/it; // don't run unless no compat (function(){ @@ -69,7 +70,7 @@ describe("Function Methods", function(){ expect(results[1]).toEqual('rocks'); }); - it('should return the function bound to an object with multiple arguments', function(){ + dit('should return the function bound to an object with multiple arguments', function(){ var results = Args.bind('MooTools', ['rocks', 'da house'])(); expect(results[0] + '').toEqual(new String('MooTools') + ''); expect(results[1]).toEqual(['rocks', 'da house']); @@ -242,8 +243,6 @@ describe('Function.bind', function(){ expect(spy.mostRecentCall.object).toEqual(binding); }); - var dit = /*<1.2compat>*/xit || /**/it; // don't run unless no compat - dit('should still be possible to use it as constructor', function(){ function Alien(type) { this.type = type; -- 2.11.4.GIT