From 6611e2b2d62ae01e9a63f1d135edffe84c8fc7de Mon Sep 17 00:00:00 2001 From: Michael Lange Date: Tue, 10 Jul 2018 19:28:54 -0700 Subject: [PATCH] Adds missing test for evaluations tab --- ui/tests/helpers/module-for-job.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ui/tests/helpers/module-for-job.js b/ui/tests/helpers/module-for-job.js index 674fae06a..3b53c7b6d 100644 --- a/ui/tests/helpers/module-for-job.js +++ b/ui/tests/helpers/module-for-job.js @@ -38,6 +38,13 @@ export default function moduleForJob(title, jobFactory, additionalTests) { }); }); + test('the subnav links to evaluations', function(assert) { + JobDetail.tabFor('evaluations').visit(); + andThen(() => { + assert.equal(currentURL(), `/jobs/${job.id}/evaluations`); + }); + }); + for (var testName in additionalTests) { test(testName, function(assert) { additionalTests[testName](job, assert);