Skip to content
This repository has been archived by the owner on Nov 15, 2017. It is now read-only.

Commit

Permalink
Rename Validator to BaseValidator and test it
Browse files Browse the repository at this point in the history
  • Loading branch information
fastner committed May 11, 2016
1 parent 136224a commit 3799b5f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
File renamed without changes.
16 changes: 11 additions & 5 deletions test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @license
* VueXValidator <https://www.sebastian-software.de/oss>
* VuexValidator <https://www.sebastian-software.de/oss>
* Copyright 2015-2016 Sebastian Software GmbH
* Released under Apache 2.0 <http://www.apache.org/licenses/LICENSE-2.0>
* Authors: Sebastian Fastner <[email protected]>
Expand All @@ -9,10 +9,16 @@
import test from "ava"
import "babel-register"

import VueXValidator from "./src/VuexValidator"
import VuexValidator from "./src/VuexValidator"
import BaseValidator from "./src/BaseValidator"

test("VueXValidator Plugin is valid", (api) =>
test("VuexValidator Plugin is valid", (api) =>
{
api.is(typeof VueXValidator, "object")
api.is(typeof VueXValidator.install, "function")
api.is(typeof VuexValidator, "object")
api.is(typeof VuexValidator.install, "function")
})

test("BaseValidator is valid", (api) =>
{
api.is(typeof BaseValidator, "function")
})

0 comments on commit 3799b5f

Please sign in to comment.