From 62153f4117e64a8d90c4a6ca56e4c8808841f6b1 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Tue, 12 Jul 2016 22:25:09 +0900 Subject: [PATCH] spec: Name of tests should match docs --- spec/api-session-spec.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/api-session-spec.js b/spec/api-session-spec.js index b8b944944bbb..4f43ef04d30b 100644 --- a/spec/api-session-spec.js +++ b/spec/api-session-spec.js @@ -41,7 +41,7 @@ describe('session module', function () { }) }) - describe('session.cookies', function () { + describe('ses.cookies', function () { it('should get cookies', function (done) { var server = http.createServer(function (req, res) { res.setHeader('Set-Cookie', ['0=0']) @@ -147,7 +147,7 @@ describe('session module', function () { }) }) - describe('session.clearStorageData(options)', function () { + describe('ses.clearStorageData(options)', function () { fixtures = path.resolve(__dirname, 'fixtures') it('clears localstorage data', function (done) { ipcMain.on('count', function (event, count) { @@ -169,7 +169,7 @@ describe('session module', function () { }) }) - describe('session will-download event', function () { + describe('will-download event', function () { var w = null beforeEach(function () { @@ -286,7 +286,7 @@ describe('session module', function () { }) }) - describe('session.protocol', function () { + describe('ses.protocol', function () { const partitionName = 'temp' const protocolName = 'sp' const partitionProtocol = session.fromPartition(partitionName).protocol