Commit c74b7eb2 authored by Mike Greiling's avatar Mike Greiling

fix overlooked window binding in spec files

parent b7aaec05
......@@ -229,4 +229,4 @@ require('./fixtures/emoji_menu');
});
});
});
}).call(this);
}).call(window);
......@@ -18,4 +18,4 @@ require('~/behaviors/autosize');
return $(document).trigger('load');
};
});
}).call(this);
}).call(window);
......@@ -103,4 +103,4 @@ require('~/behaviors/quick_submit');
return $.Event('keydown', $.extend({}, defaults, options));
};
});
}).call(this);
}).call(window);
......@@ -36,4 +36,4 @@ require('~/behaviors/requires_input');
return expect($('.submit')).not.toBeDisabled();
});
});
}).call(this);
}).call(window);
......@@ -42,4 +42,4 @@ require('~/extensions/array');
});
});
});
}).call(this);
}).call(window);
......@@ -39,4 +39,4 @@ require('~/extensions/jquery');
});
});
});
}).call(this);
}).call(window);
This diff is collapsed.
......@@ -50,4 +50,4 @@ require('~/lib/utils/text_utility');
});
});
});
}).call(this);
}).call(window);
......@@ -165,4 +165,4 @@ require('~/issue');
expect($('.issue_counter')).toHaveText(1);
});
});
}).call(this);
}).call(window);
......@@ -227,4 +227,4 @@ require('~/line_highlighter');
});
});
});
}).call(this);
}).call(window);
......@@ -26,4 +26,4 @@ require('~/merge_request');
});
});
});
}).call(this);
}).call(window);
......@@ -209,4 +209,4 @@ require('vendor/jquery.scrollTo');
});
});
});
}).call(this);
}).call(window);
......@@ -189,4 +189,4 @@ require('~/lib/utils/datetime_utility');
});
});
});
}).call(this);
}).call(window);
......@@ -166,4 +166,4 @@ require('~/new_branch_form');
});
});
});
}).call(this);
}).call(window);
......@@ -73,4 +73,4 @@ require('~/lib/utils/text_utility');
});
});
});
}).call(this);
}).call(window);
......@@ -51,4 +51,4 @@ require('~/project');
window.gon = {};
});
});
}).call(this);
}).call(window);
......@@ -79,4 +79,4 @@ require('~/extensions/jquery.js');
expect(todoToggleSpy.calls.count()).toEqual(1);
});
});
}).call(this);
}).call(window);
......@@ -175,4 +175,4 @@ require('vendor/fuzzaldrin-plus');
expect(enterKeyEvent.isDefaultPrevented()).toBe(true);
});
});
}).call(this);
}).call(window);
......@@ -79,4 +79,4 @@ require('~/shortcuts_issuable');
});
});
});
}).call(this);
}).call(window);
......@@ -41,4 +41,4 @@ require('~/syntax_highlight');
});
});
});
}).call(this);
}).call(window);
......@@ -69,4 +69,4 @@ require('./mock_u2f_device');
});
});
});
}).call(this);
}).call(window);
......@@ -30,4 +30,4 @@
return MockU2FDevice;
})();
}).call(this);
}).call(window);
......@@ -74,4 +74,4 @@ require('./mock_u2f_device');
});
});
});
}).call(this);
}).call(window);
......@@ -76,4 +76,4 @@ require('~/zen_mode');
keyCode: 27
}));
};
}).call(this);
}).call(window);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment