14 lines
405 B
CoffeeScript
14 lines
405 B
CoffeeScript
import { moduleForModel, test } from 'ember-qunit'
|
|
|
|
moduleForModel 'create-and-update', 'Unit | Serializer | create and update',
|
|
# Specify the other units that are required for this test.
|
|
needs: ['serializer:create-and-update']
|
|
|
|
# Replace this with your real tests.
|
|
test 'it serializes records', (assert) ->
|
|
record = @subject()
|
|
|
|
serializedRecord = record.serialize()
|
|
|
|
assert.ok serializedRecord
|