mirror of
https://github.com/hanzoai/forum.git
synced 2026-09-30 21:51:19 +00:00
16 lines
421 B
JavaScript
16 lines
421 B
JavaScript
import { getOwner } from "@ember/owner";
|
|
import { setupTest } from "ember-qunit";
|
|
import { module, test } from "qunit";
|
|
|
|
module("Unit | Model | staff-action-log", function (hooks) {
|
|
setupTest(hooks);
|
|
|
|
test("create", function (assert) {
|
|
const store = getOwner(this).lookup("service:store");
|
|
assert.true(
|
|
!!store.createRecord("staff-action-log"),
|
|
"can be created without arguments"
|
|
);
|
|
});
|
|
});
|