', 'determines publish for plugin'));
+ t.true(includes(rendered.html, '
required to save', 'determines save for plugin'));
+ t.true(includes(rendered.html, '
required to publish', 'determines publish for plugin'));
});
});
diff --git a/tests/html.js b/tests/html.js
index f9a8a00..e52937c 100644
--- a/tests/html.js
+++ b/tests/html.js
@@ -10,7 +10,7 @@ test('Add Errors - Pass', t => {
},
input: {
description: 'I am the Bar Content Type Config textarea description',
- html: '
{{textarea.value}}',
+ html: '
{{textarea.value}}',
id: 'my-textarea',
inputs: {
textarea: {
@@ -41,7 +41,7 @@ test('Add Errors Repeatable - Pass', t => {
},
input: {
description: 'An email input with domain validation',
- html: '
',
+ html: '
',
id: 'my-email',
inputs: [
{
@@ -81,10 +81,10 @@ test('Add Errors Repeatable - Pass', t => {
test('Add Required - Pass', t => {
const param = {
- html: '"
test"',
+ html: '"
test"',
input: {
description: 'I am the Bar Content Type Config textarea description',
- html: '
{{textarea.value}}',
+ html: '
{{textarea.value}}',
id: 'my-textarea',
inputs: {
textarea: {
@@ -134,10 +134,10 @@ test('Add Required Checkbox - Pass', t => {
test('Add Required and Repeatable - Pass', t => {
const param = {
- html: '"
"',
+ html: '"
"',
input: {
description: 'I am the Bar Content Type Config text description',
- html: '
',
+ html: '
',
id: 'text-required',
inputs: {
text: {
@@ -162,11 +162,11 @@ test('Add Required and Repeatable - Pass', t => {
test('Add Object Required - Pass', t => {
const param = {
- html: '""',
+ html: '""',
input: {
name: 'Object',
description: 'I am the Foo Object text description',
- html: '',
+ html: '',
id: 'object-required',
inputs: {
text: {