title: How to use ember-cli-mirage in an addon project
body: <p>I can't seem to get ember-cli-mirage to intercept ember-data requests when running <code>ember test --server</code> in an ember-cli-addon project.</p>
  
  <p>/tests/dummy/app/adapters/application.js</p>
  
  <pre><code>export default DS.RESTAdapter.extend({
    namespace: 'rest'
  });
  </code></pre>
  
  <p>/tests/dummy/mirage/config.js</p>
  
  <pre><code>export default function() {
  
    this.namespace = '/rest';
  
    this.get('/subManagers', 'sub-manager');
    this.get('/subManagers/:id', 'sub-manager');
    this.post('/subManagers', 'sub-manager');
    this.put('/subManagers/:id', 'sub-manager');
    this.del('/subManagers/:id', 'sub-manager');
  }
  </code></pre>
  
  <p>However, when runnning <code>ember test --server</code>, the following request is getting a 404 <code>http://localhost:7357/rest/subManagers</code> when my test is requesting all subManagers and I am getting a test error <code>Error: Adapter operation failed</code>.</p>
  
  <p>The tests are running on <code>http://localhost:7357/6263/tests/index.html?hidepassed</code></p>
  
  <p>What am I doing wrong?</p>