2014-09-08 22:53:46 +00:00
|
|
|
|
2015-10-11 22:59:51 +00:00
|
|
|
'use strict';
|
|
|
|
|
2014-09-08 22:53:46 +00:00
|
|
|
var context = require('../context');
|
|
|
|
|
|
|
|
describe('ctx.inspect()', function(){
|
|
|
|
it('should return a json representation', function(){
|
|
|
|
var ctx = context();
|
|
|
|
var toJSON = ctx.toJSON(ctx);
|
|
|
|
|
|
|
|
toJSON.should.eql(ctx.inspect());
|
|
|
|
})
|
|
|
|
})
|