Sha256: 445e3d43076da0969ab8e416f79b60ee028a5cfdf0d464cb0e04c02fa144b908

Contents?: true

Size: 541 Bytes

Versions: 9

Compression:

Stored size: 541 Bytes

Contents

var Pikaday = require('../'),
    expect = require('expect.js');

describe('Pikaday', function ()
{
    'use strict';

    it('should expose as a CommonJS module', function ()
    {
        expect(Pikaday).to.be.a('function');
    });

    it('should NOT leak to the global object', function ()
    {
        expect(window).to.not.have.property('Pikaday');
    });

    it('should be possible to create a new instance', function ()
    {
        expect(function () {
            new Pikaday();
        }).to.not.throwException();
    });
});

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
kea-rails-2.0.0.pre.alpha14 vendor/assets/components/pikaday/tests/module.js
kea-rails-2.0.0.pre.alpha13 vendor/assets/components/pikaday/tests/module.js
kea-rails-2.0.0.pre.alpha12 vendor/assets/components/pikaday/tests/module.js
kea-rails-2.0.0.pre.alpha11 vendor/assets/components/pikaday/tests/module.js
kea-rails-2.0.0.pre.alpha10 vendor/assets/components/pikaday/tests/module.js
kea-rails-2.0.0.pre.alpha9 vendor/assets/components/pikaday/tests/module.js
kea-rails-2.0.0.pre.alpha8 vendor/assets/components/pikaday/tests/module.js
kea-rails-2.0.0.pre.alpha7 vendor/assets/components/pikaday/tests/module.js
kea-rails-2.0.0.pre.alpha6 vendor/assets/components/pikaday/tests/module.js