diff --git a/cms/static/coffee/spec/models/feedback_spec.coffee b/cms/static/coffee/spec/models/feedback_spec.coffee index f5694055d1..49f0da4dc0 100644 --- a/cms/static/coffee/spec/models/feedback_spec.coffee +++ b/cms/static/coffee/spec/models/feedback_spec.coffee @@ -1,34 +1,34 @@ describe "CMS.Models.SystemFeedback", -> - beforeEach -> - @model = new CMS.Models.SystemFeedback() + beforeEach -> + @model = new CMS.Models.SystemFeedback() - it "should have an empty message by default", -> - expect(@model.get("message")).toEqual("") + it "should have an empty message by default", -> + expect(@model.get("message")).toEqual("") - it "should have an empty title by default", -> - expect(@model.get("title")).toEqual("") + it "should have an empty title by default", -> + expect(@model.get("title")).toEqual("") - it "should not have a type set by default", -> - expect(@model.get("type")).toBeNull() + it "should not have a type set by default", -> + expect(@model.get("type")).toBeNull() describe "CMS.Models.WarningMessage", -> - beforeEach -> - @model = new CMS.Models.WarningMessage() + beforeEach -> + @model = new CMS.Models.WarningMessage() - it "should have the correct type", -> - expect(@model.get("type")).toEqual("warning") + it "should have the correct type", -> + expect(@model.get("type")).toEqual("warning") describe "CMS.Models.ErrorMessage", -> - beforeEach -> - @model = new CMS.Models.ErrorMessage() + beforeEach -> + @model = new CMS.Models.ErrorMessage() - it "should have the correct type", -> - expect(@model.get("type")).toEqual("error") + it "should have the correct type", -> + expect(@model.get("type")).toEqual("error") describe "CMS.Models.ConfirmationMessage", -> - beforeEach -> - @model = new CMS.Models.ConfirmationMessage() + beforeEach -> + @model = new CMS.Models.ConfirmationMessage() - it "should have the correct type", -> - expect(@model.get("type")).toEqual("confirmation") + it "should have the correct type", -> + expect(@model.get("type")).toEqual("confirmation") diff --git a/cms/static/coffee/spec/views/feedback_spec.coffee b/cms/static/coffee/spec/views/feedback_spec.coffee index 41f8c52f43..00d949c62a 100644 --- a/cms/static/coffee/spec/views/feedback_spec.coffee +++ b/cms/static/coffee/spec/views/feedback_spec.coffee @@ -1,96 +1,96 @@ describe "CMS.Views.Alert as base class", -> - tpl = readFixtures('alert.underscore') + tpl = readFixtures('alert.underscore') - beforeEach -> - setFixtures(sandbox({id: "page-alert"})) - appendSetFixtures($("