Sha256: e0eff7bd1af494e5acbaef3c343b473ddb8cf1e7542ce70a0892cfa02aee3421

Contents?: true

Size: 869 Bytes

Versions: 7

Compression:

Stored size: 869 Bytes

Contents

var list = require('../../lib/list');
var expect = require('expect.js');

describe('list module', function () {
    describe('requiring the list module', function () {
        it('should expose a list method', function () {
            expect(typeof list === 'function').to.be.ok;
        });

        it('should expose a initCache method', function () {
            expect(list.initCache).to.be.ok;
            expect(typeof list.initCache === 'function').to.be.ok;
        });

        it('should expose a clearCache method', function () {
            expect(list.clearCache).to.be.ok;
            expect(typeof list.clearCache === 'function').to.be.ok;
        });

        it('should expose a resetCache method', function () {
            expect(list.resetCache).to.be.ok;
            expect(typeof list.resetCache === 'function').to.be.ok;
        });
    });
});

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
entangled-0.0.16 spec/dummy/public/node_modules/bower/node_modules/bower-registry-client/test/core/list.js
entangled-0.0.15 spec/dummy/public/node_modules/bower/node_modules/bower-registry-client/test/core/list.js
entangled-0.0.14 spec/dummy/public/node_modules/bower/node_modules/bower-registry-client/test/core/list.js
entangled-0.0.13 spec/dummy/public/node_modules/bower/node_modules/bower-registry-client/test/core/list.js
entangled-0.0.12 spec/dummy/public/node_modules/bower/node_modules/bower-registry-client/test/core/list.js
entangled-0.0.11 spec/dummy/public/node_modules/bower/node_modules/bower-registry-client/test/core/list.js
entangled-0.0.10 spec/dummy/public/node_modules/bower/node_modules/bower-registry-client/test/core/list.js