Skip to content

Commit

Permalink
Merge pull request #34 from rwjblue/update-to-latest-ember-qunit
Browse files Browse the repository at this point in the history
Update to ember-qunit 0.2.0.
  • Loading branch information
rwjblue committed Jan 31, 2015
2 parents 49499fb + 9066042 commit eceece8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion blueprints/ember-cli-qunit/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module.exports = {
return addonContext.addBowerPackageToProject('ember-qunit-notifications', '0.0.5');
})
.then(function() {
return addonContext.addBowerPackageToProject('ember-qunit', '0.1.8');
return addonContext.addBowerPackageToProject('ember-qunit', 'rwjblue/ember-qunit-builds#0.2.0');
});
}
};
7 changes: 6 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@ module.exports = {
app.bowerDirectory + '/ember-qunit-notifications/failed.png',
];

app.import(app.bowerDirectory + '/ember-qunit/dist/named-amd/main.js', {
var emberQunitPath = app.bowerDirectory + '/ember-qunit/ember-qunit.amd.js';
if (!fs.existsSync(emberQunitPath)) {
emberQunitPath = app.bowerDirectory + '/ember-qunit/named-amd/main.js';
}

app.import(emberQunitPath, {
type: 'test',
exports: {
'ember-qunit': [
Expand Down

0 comments on commit eceece8

Please sign in to comment.