Skip to content

Commit

Permalink
fixed some test after #120
Browse files Browse the repository at this point in the history
  • Loading branch information
icebob committed Feb 15, 2017
1 parent e04279c commit ba4be42
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions test/unit/specs/VueFormGenerator.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ describe("VueFormGenerator.vue", () => {
let schema = {
fields: [
{
type: "text",
type: "input",
inputType: "text",
label: "Name",
model: "name",
readonly: false,
Expand All @@ -71,7 +72,7 @@ describe("VueFormGenerator.vue", () => {
it("should be minimal classes", () => {
expect(group.classList.length).to.be.equal(2);
expect(group.classList.contains("form-group")).to.be.true;
expect(group.classList.contains("field-text")).to.be.true;
expect(group.classList.contains("field-input")).to.be.true;
});

it("should be featured class", (done) => {
Expand Down Expand Up @@ -138,7 +139,8 @@ describe("VueFormGenerator.vue", () => {
let schema = {
fields: [
{
type: "text",
type: "input",
inputType: "text",
label: "Name",
model: "name",
help: null
Expand Down Expand Up @@ -176,7 +178,8 @@ describe("VueFormGenerator.vue", () => {
let schema = {
fields: [
{
type: "text",
type: "input",
inputType: "text",
label: "Name",
model: "name",
hint: "Hint text",
Expand Down

0 comments on commit ba4be42

Please sign in to comment.