server/bo_client/tests/helpers/start-app.js
changeset 517 3143195e91b4
parent 456 3a32d2f57429
child 537 d2e6ee099125
--- a/server/bo_client/tests/helpers/start-app.js	Thu Feb 16 18:22:19 2017 +0100
+++ b/server/bo_client/tests/helpers/start-app.js	Fri Feb 17 22:01:32 2017 +0100
@@ -5,8 +5,8 @@
 export default function startApp(attrs) {
   let application;
 
-  // use defaults, but you can override
-  let attributes = Ember.assign({}, config.APP, attrs);
+  let attributes = Ember.merge({}, config.APP);
+  attributes = Ember.merge(attributes, attrs); // use defaults, but you can override;
 
   Ember.run(() => {
     application = Application.create(attributes);