formulator = require '../src/formulator'

describe 'formulator', () ->
  form_data = {
    action: 'add'
    method: 'post'
    fields:
      name:
        label: 'Name'
        required: true
        type: 'text'
  }
  
  form = formulator.formulate form_data