Tests: no-shaddow

This commit is contained in:
Amine Ben hammou
2017-10-25 14:52:53 +00:00
parent 2ac32484e1
commit 4dc9004303
16 changed files with 156 additions and 178 deletions

View File

@ -175,7 +175,6 @@ define([
});
it('uses defaults from config when they are set', function () {
var model;
global.stubConfig(EditorApplication, {
blockDefaults: {
automatedLatestContent: {
@ -255,7 +254,6 @@ define([
});
it('accepts displayable posts', function () {
var model;
EditorApplication.getBlockTypeModel = sinon.stub()
.returns(ContainerBlock.ContainerBlockModel);
model = new (module.AutomatedLatestContentBlockModel)();
@ -504,8 +502,6 @@ define([
});
describe('when "title only" display type is selected', function () {
var model;
var view;
beforeEach(function () {
model = new (module.AutomatedLatestContentBlockModel)();
view = new (module.AutomatedLatestContentBlockSettingsView)({ model: model });
@ -518,8 +514,6 @@ define([
});
describe('when "title as list" is selected', function () {
var model;
var view;
beforeEach(function () {
model = new (module.AutomatedLatestContentBlockModel)();
view = new (module.AutomatedLatestContentBlockSettingsView)({ model: model });