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

Version Path
card-1.100.0 mod/bootstrap/spec/set/all/bootstrap/bootstrap_spec.rb
card-1.99.6 mod/bootstrap/spec/set/all/bootstrap/bootstrap_spec.rb
card-1.99.5 mod/bootstrap/spec/set/all/bootstrap/bootstrap_spec.rb
card-1.99.4 mod/bootstrap/spec/set/all/bootstrap/bootstrap_spec.rb
card-1.99.3 mod/bootstrap/spec/set/all/bootstrap/bootstrap_spec.rb
card-1.99.2 mod/bootstrap/spec/set/all/bootstrap/bootstrap_spec.rb
card-1.99.1 mod/bootstrap/spec/set/all/bootstrap/bootstrap_spec.rb
card-1.99.0 mod/bootstrap/spec/set/all/bootstrap/bootstrap_spec.rb
card-1.98.3 mod/bootstrap/spec/set/all/bootstrap/bootstrap_spec.rb
card-1.98.2 mod/bootstrap/spec/set/all/bootstrap/bootstrap_spec.rb
card-1.98.1 mod/bootstrap/spec/set/all/bootstrap/bootstrap_spec.rb
card-1.98.0 mod/bootstrap/spec/set/all/bootstrap/bootstrap_spec.rb
card-1.97.0.1 mod/bootstrap/spec/set/all/bootstrap/bootstrap_spec.rb
card-1.97.0 mod/bootstrap/spec/set/all/bootstrap/bootstrap_spec.rb
card-1.96.8 mod/bootstrap/spec/set/all/bootstrap/bootstrap_spec.rb
card-1.96.7 mod/bootstrap/spec/set/all/bootstrap/bootstrap_spec.rb
card-1.96.6 mod/bootstrap/spec/set/all/bootstrap/bootstrap_spec.rb
card-1.96.5 mod/bootstrap/spec/set/all/bootstrap/bootstrap_spec.rb
card-1.96.4 mod/bootstrap/spec/set/all/bootstrap/bootstrap_spec.rb
card-1.96.3 mod/bootstrap/spec/set/all/bootstrap/bootstrap_spec.rb