summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-01-09 16:35:58 -0600
committerMike Greiling <mike@pixelcog.com>2017-01-10 12:30:46 -0600
commitbdcb81be95b3287e14cf23b2f1d0849b24077360 (patch)
treefadf5ed1f8242074631a739a72d581dcd4a2c07d
parentd2649bf8e3d55e28e453f891faa92745267affe5 (diff)
downloadgitlab-ce-bdcb81be95b3287e14cf23b2f1d0849b24077360.tar.gz
remove teaspoon-specific test
-rw-r--r--spec/javascripts/lib/utils/common_utils_spec.js.es66
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/javascripts/lib/utils/common_utils_spec.js.es6 b/spec/javascripts/lib/utils/common_utils_spec.js.es6
index 58fb54077f5..e33360a1875 100644
--- a/spec/javascripts/lib/utils/common_utils_spec.js.es6
+++ b/spec/javascripts/lib/utils/common_utils_spec.js.es6
@@ -10,9 +10,9 @@ require('~/lib/utils/common_utils');
// IE11 will return a relative pathname while other browsers will return a full pathname.
// parseUrl uses an anchor element for parsing an url. With relative urls, the anchor
// element will create an absolute url relative to the current execution context.
- // The JavaScript test suite is executed at '/teaspoon' which will lead to an absolute
- // url starting with '/teaspoon'.
- expect(gl.utils.parseUrl('" test="asf"').pathname).toEqual('/teaspoon/%22%20test=%22asf%22');
+ // The JavaScript test suite is executed at '/' which will lead to an absolute url
+ // starting with '/'.
+ expect(gl.utils.parseUrl('" test="asf"').pathname).toEqual('/%22%20test=%22asf%22');
});
});
describe('gl.utils.parseUrlPathname', () => {