Adds missing test for evaluations tab

This commit is contained in:
Michael Lange 2018-07-10 19:28:54 -07:00
parent 22f472066a
commit 6611e2b2d6

View file

@ -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);