Tests no-spaced-func

This commit is contained in:
Amine Ben hammou
2017-09-27 15:36:11 +00:00
parent 87e6cc2a4f
commit abd4f6cac2
2 changed files with 1 additions and 2 deletions

View File

@@ -12,7 +12,6 @@
"global-require": 0, "global-require": 0,
"keyword-spacing": 0, "keyword-spacing": 0,
"no-bitwise": 0, "no-bitwise": 0,
"no-spaced-func": 0,
"func-call-spacing": 0, "func-call-spacing": 0,
"max-len": 0, "max-len": 0,
"space-unary-ops": 0, "space-unary-ops": 0,

View File

@@ -200,7 +200,7 @@ define([
expect(model.get('styles.block.backgroundColor')).to.equal('#cccccc'); expect(model.get('styles.block.backgroundColor')).to.equal('#cccccc');
}); });
it ('changes color of available divider styles when actual divider color changes', function() { it('changes color of available divider styles when actual divider color changes', function() {
var newColor = '#889912'; var newColor = '#889912';
view.$('.mailpoet_field_divider_border_color').val(newColor).change(); view.$('.mailpoet_field_divider_border_color').val(newColor).change();
expect(view.$('.mailpoet_field_divider_style div')).to.have.$css('border-top-color', newColor); expect(view.$('.mailpoet_field_divider_style div')).to.have.$css('border-top-color', newColor);