Sha256: 6e2c0db290ca964f5fcfa85ff5029d528ebb22d75ebdba7a0f2116170ec3f847
Contents?: true
Size: 426 Bytes
Versions: 46
Compression:
Stored size: 426 Bytes
Contents
RSpec.describe Bootstrap do subject { described_class.new(format) } let(:format) { Card["A"].format(:html) } def render subject.render do yield end end it "loads components" do expect(subject).to respond_to(:form) expect(subject.form() {}).to eq "<form></form>" end describe "html" do it "renderes plain text" do # expect(render { html "test" }).to eq "test" end end end
Version data entries
46 entries across 46 versions & 1 rubygems