github.com/sl1pm4t/consul@v1.4.5-0.20190325224627-74c31c540f9c/ui-v2/tests/unit/models/node-test.js (about)

     1  import { module, test } from 'qunit';
     2  import { setupTest } from 'ember-qunit';
     3  import { run } from '@ember/runloop';
     4  
     5  module('Unit | Model | node', function(hooks) {
     6    setupTest(hooks);
     7  
     8    // Replace this with your real tests.
     9    test('it exists', function(assert) {
    10      let store = this.owner.lookup('service:store');
    11      let model = run(() => store.createRecord('node', {}));
    12      assert.ok(model);
    13    });
    14  });