mercredi 21 octobre 2015

ember-cli-mirage not loading scenarios/default.js

I am using ember-cli 1.13.8 and ember-cli-mirage 0.1.11 and my scenarios/default.js look like this:

export default function(server) {
  console.log('we do not get here');
  let subscriptionPlan = server.createSubscriptionPlan();
  let billing = server.createBilling({subscription_plan_id: subscriptionPlan.id});
  let account = server.createAccount({billing_id: billing.id});
  server.createUser({account_id: account.id});
}

But it does not get called at all from my acceptance test.

Am I missing some set up step?




Aucun commentaire:

Enregistrer un commentaire