diff --git a/packages/spacebars-tests/template_tests.html b/packages/spacebars-tests/template_tests.html
index fd1d469eb4..6ff3a5582a 100644
--- a/packages/spacebars-tests/template_tests.html
+++ b/packages/spacebars-tests/template_tests.html
@@ -1028,14 +1028,6 @@ Hi there!
{{> Template.contentBlock}}
-
- {{#with x=1}}
- {{#with y=2}}
-
- {{/with}}
- {{/with}}
-
-
{{#if Template.subscriptionsReady}}
ready!
diff --git a/packages/spacebars-tests/template_tests.js b/packages/spacebars-tests/template_tests.js
index 8adf4505e7..ca31510254 100644
--- a/packages/spacebars-tests/template_tests.js
+++ b/packages/spacebars-tests/template_tests.js
@@ -10,20 +10,7 @@ var nodesToArray = function (array) {
return _.map(array, _.identity);
};
-var inDocument = function (elem) {
- while ((elem = elem.parentNode)) {
- if (elem == document) {
- return true;
- }
- }
- return false;
-};
-
-
var clickIt = function (elem) {
- if (!inDocument(elem))
- throw new Error("Can't click on elements without first adding them to the document");
-
// jQuery's bubbling change event polyfill for IE 8 seems
// to require that the element in question have focus when
// it receives a simulated click.
@@ -3098,45 +3085,6 @@ Tinytest.add("spacebars-tests - template_tests - custom block helper doesn't bre
test.equal(canonicalizeHtml(div.innerHTML), "hello hello");
});
-Tinytest.add(
- "spacebars-tests - template_tests - currentData and parentData in event handlers and helpers",
- function (test) {
- var tmpl = Template.spacebars_template_test_currentData_and_parentData_in_events;
-
- var clicked = false;
- var currentInEvent;
- var parentInEvent;
- var currentInHelper;
- var parentInHelper;
-
- tmpl.events({
- 'click button': function () {
- currentInEvent = Template.currentData();
- parentInEvent = Template.parentData(1);
- }
- });
-
- tmpl.helpers({
- label: function () {
- currentInHelper = Template.currentData();
- parentInHelper = Template.parentData(1);
- }
- });
-
- var div = renderToDiv(tmpl);
- var button = div.querySelector('button');
- document.body.appendChild(div);
-
- clickIt(button);
-
- test.equal(currentInEvent, {y: 2});
- test.equal(parentInEvent, {x: 1});
- test.equal(currentInHelper, {y: 2});
- test.equal(parentInHelper, {x: 1});
-
- document.body.removeChild(div);
- });
-
testAsyncMulti("spacebars-tests - template_tests - template-level subscriptions", [
function (test, expect) {
var tmpl = Template.spacebars_template_test_template_level_subscriptions;