diff --git a/package.json b/package.json index f5dd117..74f6a84 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,7 @@ "devDependencies": { "ampersand-form-view": "^2.2.0", "ampersand-view": "^7.2.0", + "ampersand-view-conventions": "^1.1.6", "beefy": "2.1.3", "browserify": "^8.1.1", "chai": "^1.10.0", @@ -40,6 +41,7 @@ "gulp-logwarn": "0.0.6", "gulp-mocha-phantomjs": "^0.5.3", "mocha": "^2.1.0", - "pre-commit": "^1.0.1" + "pre-commit": "^1.0.1", + "tape-suite": "^0.2.1" } } diff --git a/test/index.js b/test/index.js index 836bfff..8080f94 100644 --- a/test/index.js +++ b/test/index.js @@ -1,6 +1,16 @@ var chai = require( 'chai' ), + suite = require( 'tape-suite' ), + ViewConventions = require( 'ampersand-view-conventions' ), InputView = require( '../ampersand-floatinglabel-input-view' ), - expect = chai.expect; + expect = chai.expect, + fieldOptions = { + name: 'test', + type: 'text', + placeholder: 'Test', + value: '' + }; + +ViewConventions.view( suite.tape, InputView, fieldOptions ) describe( 'The input view', function() { it( 'should be rendered', function() {