summaryrefslogtreecommitdiff
path: root/web-ui/test
diff options
context:
space:
mode:
authorBruno Wagner <bwagner@thoughtworks.com>2014-10-07 15:59:44 +0200
committerBruno Wagner <bwagner@thoughtworks.com>2014-10-07 15:59:44 +0200
commit3edd9fcb2cd0ea1f05f0277c85430c9751878406 (patch)
tree0ed4ca23c717be3a9999a26f04d7bfeb77c0c54e /web-ui/test
parent6299531f4c8f7daa1b4afab45d0439f635b03982 (diff)
Fixed aftereach usages that broke the build
Diffstat (limited to 'web-ui/test')
-rw-r--r--web-ui/test/spec/page/router/url_params.spec.js2
-rw-r--r--web-ui/test/spec/tags/ui/tag_list.spec.js2
-rw-r--r--web-ui/test/spec/tags/ui/tag_shortcut.spec.js2
3 files changed, 3 insertions, 3 deletions
diff --git a/web-ui/test/spec/page/router/url_params.spec.js b/web-ui/test/spec/page/router/url_params.spec.js
index f05fa8a1..f1a5a1a5 100644
--- a/web-ui/test/spec/page/router/url_params.spec.js
+++ b/web-ui/test/spec/page/router/url_params.spec.js
@@ -11,7 +11,7 @@ require(['page/router/url_params'], function (urlParams) {
window.onpopstate = function () {};
});
- jasmine.afterEach(function () {
+ afterEach(function () {
document.location.hash = '';
});
diff --git a/web-ui/test/spec/tags/ui/tag_list.spec.js b/web-ui/test/spec/tags/ui/tag_list.spec.js
index 85cc4509..c79bed53 100644
--- a/web-ui/test/spec/tags/ui/tag_list.spec.js
+++ b/web-ui/test/spec/tags/ui/tag_list.spec.js
@@ -19,7 +19,7 @@ describeComponent('tags/ui/tag_list', function () {
$('body').append(tagsShortcutsContainer);
});
- jasmine.afterEach(function () {
+ afterEach(function () {
$('body')[0].removeChild(tagsShortcutsContainer[0]);
});
diff --git a/web-ui/test/spec/tags/ui/tag_shortcut.spec.js b/web-ui/test/spec/tags/ui/tag_shortcut.spec.js
index ebc852d0..9164507a 100644
--- a/web-ui/test/spec/tags/ui/tag_shortcut.spec.js
+++ b/web-ui/test/spec/tags/ui/tag_shortcut.spec.js
@@ -15,7 +15,7 @@ describeComponent('tags/ui/tag_shortcut', function () {
shortcut = TagShortcut.appendedTo(parent, { linkTo: { name: 'inbox', counts: { total: 15 }}, trigger: component });
});
- jasmine.afterEach(function () {
+ afterEach(function () {
$('body')[0].removeChild(parent[0]);
});