fix javascript i18n specs

This commit is contained in:
Dan Hansen 2011-01-29 14:26:30 -06:00 committed by maxwell
parent 9046273ebd
commit 4484bf33fa
2 changed files with 2 additions and 5 deletions

View file

@ -8,8 +8,8 @@
Diaspora.widgets.add("i18n", function() {
this.start = $.noop;
this.language = undefined;
this.locale = undefined;
this.language = "en";
this.locale = {};
this.loadLocale = function(locale, language) {
this.language = language;

View file

@ -6,9 +6,6 @@
* To change this template use File | Settings | File Templates.
*/
describe("Diaspora", function() {
beforeEach(function() {
Diaspora.widgets.i18n.loadLocale(null/* TODO: spec.retrieveFixture("locale")*/, "en");
});
describe("widgets", function() {
describe("i18n", function() {
describe("loadLocale", function() {