1 | /**
|
2 | * Test case for idOfModel.
|
3 | * Runs with mocha.
|
4 | */
|
5 |
|
6 |
|
7 | const idOfModel = require('../lib/naming/id_of_model.js')
|
8 | const assert = require('assert')
|
9 |
|
10 | describe('id-of-model', () => {
|
11 | before((done) => {
|
12 | done()
|
13 | })
|
14 |
|
15 | after((done) => {
|
16 | done()
|
17 | })
|
18 |
|
19 | it('Id of model', (done) => {
|
20 | let id = idOfModel('hoge')
|
21 | assert.ok(id)
|
22 | done()
|
23 | })
|
24 | })
|
25 |
|
26 | /* global describe, before, after, it */
|