diff --git a/tests/unit/deprecate-test.js b/tests/unit/deprecate-test.js
index <HASH>..<HASH> 100644
--- a/tests/unit/deprecate-test.js
+++ b/tests/unit/deprecate-test.js
@@ -9,14 +9,14 @@ let originalEnvValue;
 let originalDeprecateHandler;
 
 module('ember-debug', {
-  setup() {
+  beforeEach() {
     originalEnvValue = Ember.ENV.RAISE_ON_DEPRECATION;
     originalDeprecateHandler = HANDLERS.deprecate;
 
     Ember.ENV.RAISE_ON_DEPRECATION = true;
   },
 
-  teardown() {
+  afterEach() {
     HANDLERS.deprecate = originalDeprecateHandler;
 
     Ember.ENV.RAISE_ON_DEPRECATION = originalEnvValue;
Replace legacy QUnit 1.x API with 2.x version.

After the general dependency updates done recently we are pulling in
QUnit 2.x which no longer supports `setup` and `teardown`.