Sha256: 2756b552594e7267491028c7382ccd6549874340dde5c59395173d92ad2a70e0
Contents?: true
Size: 467 Bytes
Versions: 14
Compression:
Stored size: 467 Bytes
Contents
# -*- encoding : utf-8 -*- describe Card::Set::Type::PlainText do it "has special editor" do assert_view_select render_editor("Plain Text"), 'textarea[rows="5"]' end it "has special content that escapes HTML" do expect(render_card(:core, type: "Plain Text", content: "<b></b>")) .to eq "<b></b>" end specify "view core" do expect_view(:core).to have_tag("a.known-card") do with_tag "span.card-title" end end end
Version data entries
14 entries across 14 versions & 1 rubygems