Sha256: 752b8b261047652eba3fb72c63fbcf8fd8634bd2214b46518008a2705eb84548
Contents?: true
Size: 398 Bytes
Versions: 7
Compression:
Stored size: 398 Bytes
Contents
# -*- encoding : utf-8 -*- describe Card::Set::Type::Toggle do it 'should have special editor' do assert_view_select render_editor('Toggle'), 'input[type="checkbox"]' end it 'should have yes/no as processed content' do expect(render_card(:core, type: 'Toggle', content: '0')).to eq('no') expect(render_card(:closed_content, type: 'Toggle', content: '1')).to eq('yes') end end
Version data entries
7 entries across 7 versions & 1 rubygems