0b1b49cb8a
closes #508
13 lines
254 B
JavaScript
13 lines
254 B
JavaScript
|
|
'use strict';
|
|
|
|
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());
|
|
})
|
|
})
|