Adds missing test for evaluations tab
This commit is contained in:
parent
22f472066a
commit
6611e2b2d6
|
@ -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) {
|
for (var testName in additionalTests) {
|
||||||
test(testName, function(assert) {
|
test(testName, function(assert) {
|
||||||
additionalTests[testName](job, assert);
|
additionalTests[testName](job, assert);
|
||||||
|
|
Loading…
Reference in a new issue