Skip to content

Commit

Permalink
Fix production tests
Browse files Browse the repository at this point in the history
  • Loading branch information
patocallaghan committed Feb 27, 2021
1 parent d946d29 commit 357845d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -1997,11 +1997,11 @@ moduleFor(
}

async [`@test it throws a useful error if you invoke it wrong`](assert) {
expectDeprecation('Usage of `renderTemplate` is deprecated.');
if (!DEBUG) {
assert.expect(0);
return;
}
expectDeprecation('Usage of `renderTemplate` is deprecated.');

this.router.map(function () {
this.route('post', { path: 'post/:post_id' });
Expand Down
Expand Up @@ -2386,11 +2386,11 @@ moduleFor(
}

async [`@test it throws a useful error if you invoke it wrong`](assert) {
expectDeprecation('Usage of `renderTemplate` is deprecated.');
if (!DEBUG) {
assert.expect(0);
return;
}
expectDeprecation('Usage of `renderTemplate` is deprecated.');

this.router.map(function () {
this.route('post', { path: 'post/:post_id' });
Expand Down

0 comments on commit 357845d

Please sign in to comment.