Sha256: 0e4397adab22774e8215a9388e2d59a05c9a45de22fc8b853210d73084bacd3e

Contents?: true

Size: 443 Bytes

Versions: 2

Compression:

Stored size: 443 Bytes

Contents

describe Card::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 be_instance_of ActiveSupport::SafeBuffer
  end
  describe "html" do
    it "renderes plain text" do
      # expect(render { html "test" }).to eq "test"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
card-1.91 mod/bootstrap/spec/set/all/bootstrap/bootstrap_spec.rb
card-1.21.0 mod/bootstrap/spec/set/all/bootstrap/bootstrap_spec.rb