Skip to content
This repository has been archived by the owner on Feb 22, 2019. It is now read-only.

Commit

Permalink
Removed unnecessary logging and functions, updated bower simon include
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Malan committed Mar 23, 2015
1 parent 273c534 commit 33a422f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
8 changes: 3 additions & 5 deletions blueprints/ember-cli-betamax/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 +
Expand All @@ -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 } )
Expand All @@ -30,7 +30,5 @@ module.exports = {
.then( function() {
return this.insertIntoFile( firstFile, secondText, { after: secondLocationText } );
}.bind(this))
},

normalizeEntityName: function() {}
}
};
6 changes: 0 additions & 6 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@

module.exports = {
name: 'ember-cli-betamax',
contentFor: function(type, config) {
if (type === 'test-head-footer') {
return "<script>console.log('betamax was here');</script>";
}
},

included: function(app) {
if (app.tests) {
app.import('bower_components/sinon/index.js', {
Expand Down

0 comments on commit 33a422f

Please sign in to comment.