Sha256: 263542893c19e58a137b04d9e4d95cdf84151c2e62be4a954194d53632726188

Contents?: true

Size: 639 Bytes

Versions: 7

Compression:

Stored size: 639 Bytes

Contents

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

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

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

        it('should expose a register method', function () {
            expect(index.register).to.be.ok;
        });

        it('should expose a search method', function () {
            expect(index.search).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/index.js
entangled-0.0.15 spec/dummy/public/node_modules/bower/node_modules/bower-registry-client/test/core/index.js
entangled-0.0.14 spec/dummy/public/node_modules/bower/node_modules/bower-registry-client/test/core/index.js
entangled-0.0.13 spec/dummy/public/node_modules/bower/node_modules/bower-registry-client/test/core/index.js
entangled-0.0.12 spec/dummy/public/node_modules/bower/node_modules/bower-registry-client/test/core/index.js
entangled-0.0.11 spec/dummy/public/node_modules/bower/node_modules/bower-registry-client/test/core/index.js
entangled-0.0.10 spec/dummy/public/node_modules/bower/node_modules/bower-registry-client/test/core/index.js