1 | /**
|
2 | * Module dependencies
|
3 | */
|
4 | var assert = require( 'assert' );
|
5 |
|
6 | /**
|
7 | * Fixture
|
8 | */
|
9 | var fixture = require( './fixture' );
|
10 |
|
11 | /**
|
12 | * Sync tests
|
13 | */
|
14 |
|
15 | describe( 'fixture', function() {
|
16 | describe( 'general', function() {
|
17 | it( '`post` should be ok', function() {
|
18 | assert.ok( fixture.post );
|
19 | assert.equal( 'object', typeof fixture.post );
|
20 |
|
21 | assert.equal( 'string', typeof fixture.post.title );
|
22 | assert.equal( 'string', typeof fixture.post.content );
|
23 | } );
|
24 | } );
|
25 | } );
|