dox Executable Documentation

Checkbox field

Unchecked

When I render the field
Then the output should be ' <div> <label> <input name="args[test]" type="checkbox" value="on"> Test</label> </div>'

Checked

Given the value is true
When I render the field
Then the output should be ' <div> <label> <input name="args[test]" type="checkbox" checked value="on"> Test</label> </div>'

Inflate

When I inflate 'anything'
Then it should return true