diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-02-10 10:29:41 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-02-18 02:02:14 +0300 |
commit | c74b7eb271b3f0ae11faaba2844e1c0dc0e868d1 (patch) | |
tree | cf8e6bb99a6489fc052754af287d484db6876272 /spec/javascripts/behaviors | |
parent | b7aaec05be807e7c9a56259548c0c868982df0fb (diff) |
fix overlooked window binding in spec files
Diffstat (limited to 'spec/javascripts/behaviors')
-rw-r--r-- | spec/javascripts/behaviors/autosize_spec.js | 2 | ||||
-rw-r--r-- | spec/javascripts/behaviors/quick_submit_spec.js | 2 | ||||
-rw-r--r-- | spec/javascripts/behaviors/requires_input_spec.js | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/spec/javascripts/behaviors/autosize_spec.js b/spec/javascripts/behaviors/autosize_spec.js index 4a3da9e318b..3deaf258cae 100644 --- a/spec/javascripts/behaviors/autosize_spec.js +++ b/spec/javascripts/behaviors/autosize_spec.js @@ -18,4 +18,4 @@ require('~/behaviors/autosize'); return $(document).trigger('load'); }; }); -}).call(this); +}).call(window); diff --git a/spec/javascripts/behaviors/quick_submit_spec.js b/spec/javascripts/behaviors/quick_submit_spec.js index 0e4c2c560cc..4820ce41ade 100644 --- a/spec/javascripts/behaviors/quick_submit_spec.js +++ b/spec/javascripts/behaviors/quick_submit_spec.js @@ -103,4 +103,4 @@ require('~/behaviors/quick_submit'); return $.Event('keydown', $.extend({}, defaults, options)); }; }); -}).call(this); +}).call(window); diff --git a/spec/javascripts/behaviors/requires_input_spec.js b/spec/javascripts/behaviors/requires_input_spec.js index 631fca06514..3a84013a2ed 100644 --- a/spec/javascripts/behaviors/requires_input_spec.js +++ b/spec/javascripts/behaviors/requires_input_spec.js @@ -36,4 +36,4 @@ require('~/behaviors/requires_input'); return expect($('.submit')).not.toBeDisabled(); }); }); -}).call(this); +}).call(window); |