Skip to content

Commit

Permalink
Changed the start-app test helper to use Ember.assign instead of `E…
Browse files Browse the repository at this point in the history
…mber.merge`.
  • Loading branch information
Wesley Workman committed Aug 19, 2016
1 parent e807c07 commit ff58fc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blueprints/app/files/tests/helpers/start-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import config from '../../config/environment';
export default function startApp(attrs) {
let application;

let attributes = Ember.merge({}, config.APP);
attributes = Ember.merge(attributes, attrs); // use defaults, but you can override;
// use defaults, but you can override
let attributes = Ember.assign({}, config.APP, attrs);

Ember.run(() => {
application = Application.create(attributes);
Expand Down

0 comments on commit ff58fc0

Please sign in to comment.