Sha256: 974c7678421459338ee03ace3a54caba6d459a4da671089f5fb8502efe5997b1
Contents?: true
Size: 389 Bytes
Versions: 2
Compression:
Stored size: 389 Bytes
Contents
# -*- encoding : utf-8 -*- describe Card::Set::Type::Toggle do it "has special editor" do assert_view_select render_editor("Toggle"), 'input[type="checkbox"]' end it "has 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
card-1.20.1 | mod/standard/spec/set/type/toggle_spec.rb |
card-1.20.0 | mod/standard/spec/set/type/toggle_spec.rb |