Skip to content

Commit

Permalink
removed helpers now provided by ember-cli-internal-test-helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
trabus committed Oct 9, 2015
1 parent 90d04ed commit 899ec6a
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 143 deletions.
1 change: 1 addition & 0 deletions blueprints/blueprint-test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ module.exports = {
afterInstall: function() {
return Promise.all([
this.addPackageToProject('ember-cli-blueprint-test-helpers', '^1.0.0'),
this.addPackageToProject('ember-cli-internal-test-helpers', '^1.0.0'),
this.addPackageToProject('glob', '5.0.13'),
this.addPackageToProject('mocha', '^2.2.1')
]);
Expand Down
100 changes: 0 additions & 100 deletions lib/helpers/assert-file.js

This file was deleted.

8 changes: 0 additions & 8 deletions lib/helpers/assert.js

This file was deleted.

4 changes: 2 additions & 2 deletions lib/helpers/blueprint-helper.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
'use strict';

var ember = require('./ember');
var ember = require('ember-cli-internal-test-helpers/lib/helpers/ember');
var Promise = require('ember-cli/lib/ext/promise');
var initProject = require('./project-init');
var path = require('path');
var expect = require('chai').expect;
var existsSync = require('exists-sync');
var walkSync = require('walk-sync');
var assertFile = require('./assert-file');
var assertFile = require('ember-cli-internal-test-helpers/lib/helpers/assert-file');
var tmpenv = require('./tmp-env');

/**
Expand Down
29 changes: 0 additions & 29 deletions lib/helpers/ember.js

This file was deleted.

2 changes: 1 addition & 1 deletion lib/helpers/project-init.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

var ember = require('./ember');
var ember = require('ember-cli-internal-test-helpers/lib/helpers/ember');
var Promise = require('ember-cli/lib/ext/promise');
var setupPodConfig = require('./project-setup').setupPodConfig;

Expand Down
2 changes: 1 addition & 1 deletion lib/helpers/project-setup.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

var Promise = require('ember-cli/lib/ext/promise');
var replaceFile = require('ember-cli/tests/helpers/file-utils').replaceFile;
var replaceFile = require('ember-cli-internal-test-helpers/lib/helpers/file-utils').replaceFile;
var EOL = require('os').EOL;

module.exports.setupPodConfig = function(options) {
Expand Down
4 changes: 2 additions & 2 deletions lib/helpers/setup.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'use strict';

var Promise = require('ember-cli/lib/ext/promise');
var conf = require('ember-cli/tests/helpers/conf');
var BlueprintNpmTask = require('ember-cli/tests/helpers/disable-npm-on-blueprint');
var conf = require('ember-cli-internal-test-helpers/lib/helpers/conf');
var BlueprintNpmTask = require('ember-cli-internal-test-helpers/lib/helpers/disable-npm-on-blueprint');
var fs = require('fs-extra');
var remove = Promise.denodeify(fs.remove);
var tmpenv = require('./tmp-env');
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"author": "Jake Bixby",
"license": "MIT",
"dependencies": {
"ember-cli-internal-test-helpers": "^0.2.0",
"chai": "^3.3.0",
"chai-as-promised": "^5.1.0",
"ember-cli": "^1.13.8",
Expand Down

0 comments on commit 899ec6a

Please sign in to comment.