Sha256: 28449251888a9b33aeb438930ec99a22f70941586f44eaca16c9499222ca4e26

Contents?: true

Size: 509 Bytes

Versions: 19

Compression:

Stored size: 509 Bytes

Contents

var I18n = require("../../app/assets/javascripts/i18n");

describe("Defaults", function(){
  beforeEach(function(){
    I18n.reset();
  });

  it("sets the default locale", function(){
    expect(I18n.defaultLocale).toEqual("en");
  });

  it("sets current locale", function(){
    expect(I18n.locale).toEqual("en");
  });

  it("sets default separator", function(){
    expect(I18n.defaultSeparator).toEqual(".");
  });

  it("sets fallback", function(){
    expect(I18n.fallbacks).toEqual(false);
  });
});

Version data entries

19 entries across 19 versions & 3 rubygems

Version Path
i18n-js-3.0.0.rc8 spec/js/defaults.spec.js
i18n-js-3.0.0.rc7 spec/js/defaults.spec.js
i18n-js-3.0.0.rc6 spec/js/defaults.spec.js
i18n-js-pika-3.0.0.rc9 spec/js/defaults.spec.js
i18n-js-pika-3.0.0.rc8 spec/js/defaults.spec.js
i18n-js-pika-3.0.0.rc7 spec/js/defaults.spec.js
i18n-js-pika-3.0.0.rc6 spec/js/defaults.spec.js
i18n-js-3.0.0.rc5 spec/js/defaults.spec.js
i18n-js-3.0.0.rc4 spec/js/defaults.spec.js
i18n-js-3.0.0.rc3 spec/js/defaults.spec.js
socialcast-i18n-js-4.0.0.rc8 spec/js/defaults.spec.js
socialcast-i18n-js-4.0.0.rc7 spec/js/defaults.spec.js
socialcast-i18n-js-4.0.0.rc6 spec/js/defaults.spec.js
socialcast-i18n-js-4.0.0.rc5 spec/js/defaults.spec.js
socialcast-i18n-js-4.0.0.rc4 spec/js/defaults.spec.js
socialcast-i18n-js-4.0.0.rc3 spec/js/defaults.spec.js
socialcast-i18n-js-4.0.0.rc2 spec/js/defaults.spec.js
socialcast-i18n-js-4.0.0.rc1 spec/js/defaults.spec.js
i18n-js-3.0.0.rc2 spec/js/defaults.spec.js