fix routes test. ember-mocha@0.4.2

This commit is contained in:
Jason Williams 2015-02-19 09:15:19 -06:00 committed by Matt Enlow
parent e492c43067
commit 5b72a0eb18
4 changed files with 4 additions and 8 deletions

View File

@ -589,12 +589,7 @@ var _ = require('lodash'),
// details of each of the test suites.
//
grunt.registerTask('test-all', 'Run tests and lint code',
<<<<<<< HEAD
['lint', 'test-routes', 'test-module', 'test-unit', 'test-integration', 'test-functional', 'shell:testem']
);
=======
['jshint', 'jscs', 'test-routes', 'test-module', 'test-unit', 'test-integration', 'shell:ember:test', 'test-functional']);
>>>>>>> Set up tests for ember-cli
['lint', 'test-routes', 'test-module', 'test-unit', 'test-integration', 'shell:ember:test', 'test-functional']);
// ### Lint
//

View File

@ -1,3 +1,4 @@
import Ember from 'ember';
import ModalDialog from 'ghost/components/gh-modal-dialog';
import upload from 'ghost/assets/lib/uploader';
import cajaSanitizers from 'ghost/utils/caja-sanitizers';

View File

@ -30,6 +30,6 @@
"devDependencies": {
"ember-cli-shims": "ember-cli/ember-cli-shims#0.0.3",
"ember-cli-test-loader": "ember-cli/ember-cli-test-loader#0.1.1",
"ember-mocha": "~0.3.0"
"ember-mocha": "~0.4.2"
}
}

View File

@ -217,7 +217,7 @@ describe('Frontend Routing', function () {
});
it('should retrieve built assets', function (done) {
request.get('/ghost/scripts/vendor-dev.js')
request.get('/ghost/vendor.js')
.expect('Cache-Control', testUtils.cacheRules.year)
.expect(200)
.end(doEnd(done));