Skip to content

Commit

Permalink
Adding ampersand-view-conventions to the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-engel committed Apr 10, 2015
1 parent 81943c7 commit c09ea1f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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"
}
}
12 changes: 11 additions & 1 deletion test/index.js
Original file line number Diff line number Diff line change
@@ -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() {
Expand Down

0 comments on commit c09ea1f

Please sign in to comment.