From 33a422f5cbe75b0eb763955160bee2135cfcd26a Mon Sep 17 00:00:00 2001 From: Andre Malan Date: Sun, 22 Mar 2015 21:06:46 -0400 Subject: [PATCH] Removed unnecessary logging and functions, updated bower simon include --- blueprints/ember-cli-betamax/index.js | 8 +++----- index.js | 6 ------ 2 files changed, 3 insertions(+), 11 deletions(-) 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', {