Skip to content

Commit

Permalink
fix(service blueprint): Prevent unwanted ember service test generation
Browse files Browse the repository at this point in the history
The ember-cli generates blueprints for  when generating a new
By overriding  in  it prevents the ember service test generation
Fixes angular#202
  • Loading branch information
Brocco committed Feb 18, 2016
1 parent ab42471 commit 366d1ae
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions addon/ng2/blueprints/service-test/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
var stringUtils = require('ember-cli/lib/utilities/string');

module.exports = {
description: '',

// ******************************************************
// ******************************************************
// LEAVE THIS HERE
// Must override install to prevent ember's service tests
// ******************************************************
// ******************************************************

install: function(options){}
};

0 comments on commit 366d1ae

Please sign in to comment.