diff --git a/blueprints/ember-cli-betamax/index.js b/blueprints/ember-cli-betamax/index.js index 1dd1c2a..ea65c01 100644 --- a/blueprints/ember-cli-betamax/index.js +++ b/blueprints/ember-cli-betamax/index.js @@ -6,7 +6,7 @@ module.exports = { description: 'record api queries to cassettes', afterInstall: function( options ) { - + // Import statement var firstFile = 'tests/test-helper.js', firstText = "import insertCassette from './helpers/insert-cassette';" + EOL + @@ -20,7 +20,7 @@ module.exports = { // Import statement // - return this.addBowerPackageToProject('http://sinonjs.org/releases/sinon-1.12.2.js') + return this.addBowerPackageToProject('sinon=http://sinonjs.org/releases/sinon-1.12.2.js') .then(function(){ return this.insertIntoFile( firstFile, firstText, { after: firstLocationText } ) @@ -30,7 +30,5 @@ module.exports = { .then( function() { return this.insertIntoFile( firstFile, secondText, { after: secondLocationText } ); }.bind(this)) - }, - - normalizeEntityName: function() {} + } }; diff --git a/index.js b/index.js index 617b52b..42e55a6 100644 --- a/index.js +++ b/index.js @@ -3,12 +3,6 @@ module.exports = { name: 'ember-cli-betamax', - contentFor: function(type, config) { - if (type === 'test-head-footer') { - return ""; - } - }, - included: function(app) { if (app.tests) { app.import('bower_components/sinon/index.js', {