Leave help view spec with the default locale
This commit is contained in:
parent
1863137161
commit
3930069e67
1 changed files with 6 additions and 0 deletions
|
|
@ -2,11 +2,17 @@ describe("app.views.Help", function(){
|
|||
beforeEach(function(){
|
||||
gon.appConfig = {chat: {enabled: false}};
|
||||
this.locale = JSON.parse(spec.readFixture("locale_en_help_json"));
|
||||
Diaspora.I18n.reset();
|
||||
Diaspora.I18n.load(this.locale, "en");
|
||||
this.view = new app.views.Help();
|
||||
Diaspora.Page = "HelpFaq";
|
||||
});
|
||||
|
||||
afterEach(function() {
|
||||
Diaspora.I18n.reset();
|
||||
Diaspora.I18n.load(spec.defaultLocale);
|
||||
});
|
||||
|
||||
describe("render", function(){
|
||||
beforeEach(function(){
|
||||
this.view.render();
|
||||
|
|
|
|||
Loading…
Reference in a new issue