moving jt test to test folder

so that merge will pass jenkins
This commit is contained in:
Jared Tabor
2015-03-27 15:24:36 -04:00
parent 2401865f59
commit 3512bcdc59
2 changed files with 4 additions and 4 deletions

View File

@@ -0,0 +1,24 @@
import jobTemplates from 'tower/job-templates/main';
import {describeModule} from '../describe-module';
describeModule(jobTemplates.name)
.testService('deleteJobTemplate', function(test, restStub) {
var service;
test.withService(function(_service) {
service = _service;
});
it('deletes the job template', function() {
var result = {};
var actual = service();
restStub.succeedOn('destroy', result);
restStub.flush();
expect(actual).to.eventually.equal(result);
});
});