Add basic dunlop/user-filter model connected to the dunlop-core api since these filters are engine/adapter independent

This commit is contained in:
2018-11-17 22:36:58 -03:00
parent 2b0248fbb8
commit 88d5f55e90
6 changed files with 64 additions and 0 deletions
@@ -0,0 +1,11 @@
import { moduleFor, test } from 'ember-qunit'
moduleFor 'adapter:dunlop/user-filter', 'Unit | Adapter | dunlop/user filter', {
# Specify the other units that are required for this test.
# needs: ['serializer:foo']
}
# Replace this with your real tests.
test 'it exists', (assert) ->
adapter = @subject()
assert.ok adapter
@@ -0,0 +1,11 @@
import { moduleForModel, test } from 'ember-qunit'
moduleForModel 'dunlop/user-filter', 'Unit | Model | dunlop/user filter', {
# Specify the other units that are required for this test.
needs: []
}
test 'it exists', (assert) ->
model = @subject()
# store = @store()
assert.ok !!model