test("form elements not rendered", function(assert) { $('#forms').append('

form elements check

') var el = $('#form1') new App.ControllerForm({ el: el, model: { configure_attributes: [ { name: 'shown', display: 'Shown', tag: 'input' }, { name: 'hidden', display: 'Hidden', tag: 'input', skipRendering: true } ] }, autofocus: true }); ok(el.find('input[name=shown]').get(0), 'control element is visible') notOk(el.find('input[name=hidden]').get(0), 'element with skipRendering is not shown') });