spec: Group session.cookies tests
This commit is contained in:
parent
60d44b3b04
commit
63c646242a
1 changed files with 73 additions and 69 deletions
|
@ -28,6 +28,8 @@ describe('session module', function() {
|
||||||
afterEach(function() {
|
afterEach(function() {
|
||||||
return w.destroy();
|
return w.destroy();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
describe('session.cookies', function() {
|
||||||
it('should get cookies', function(done) {
|
it('should get cookies', function(done) {
|
||||||
var server;
|
var server;
|
||||||
server = http.createServer(function(req, res) {
|
server = http.createServer(function(req, res) {
|
||||||
|
@ -120,6 +122,8 @@ describe('session module', function() {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
});
|
||||||
|
|
||||||
describe('session.clearStorageData(options)', function() {
|
describe('session.clearStorageData(options)', function() {
|
||||||
fixtures = path.resolve(__dirname, 'fixtures');
|
fixtures = path.resolve(__dirname, 'fixtures');
|
||||||
return it('clears localstorage data', function(done) {
|
return it('clears localstorage data', function(done) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue