strapi/test/context/inspect.js

13 lines
273 B
JavaScript
Raw Normal View History

2015-10-01 00:30:16 +02:00
'use strict';
const context = require('../helpers/context');
describe('ctx.inspect()', function () {
it('should return a json representation', function () {
const ctx = context();
const toJSON = ctx.toJSON(ctx);
toJSON.should.eql(ctx.inspect());
});
});