Skip to content

Commit

Permalink
allcount#82 test: Primitive Field Type Fields.email(name)
Browse files Browse the repository at this point in the history
  • Loading branch information
matteocng committed Jan 8, 2016
1 parent c5a9e74 commit ec1573c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion test-fixtures/crud-field-types/crud-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ A.app({
checkbox: Fields.checkbox("Checkbox"),
checkboxArrayField: Fields.checkbox("Checkbox Array", 'checkboxArray'),
password: Fields.password("Password"),
link: Fields.link("Link")
link: Fields.link("Link"),
email: Fields.email("Email")
}
},
Bar: {
Expand Down
3 changes: 2 additions & 1 deletion test/crud-integration-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ exports.crudFieldTest = function (test) {
checkbox: true,
checkboxArrayField: true,
password: '123',
link: 'http://www.example.com'
link: 'http://www.example.com',
email: 'example@example.com'
};
return crud.createEntity(_.clone(entityToCreate)).then(function (id) {
return crud.readEntity(id).then(function (entity) {
Expand Down

0 comments on commit ec1573c

Please sign in to comment.