Sha256: f584567896e369ffb7e3485357b2ee06fc65ca3acd9f62e0659398348f5baf6f
Contents?: true
Size: 398 Bytes
Versions: 14
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
14 entries across 14 versions & 1 rubygems