Sha256: 14feae14f7207c52daf55dcc7407b766df2680d0b75d2e7bdfcba6b310b8e6c5
Contents?: true
Size: 449 Bytes
Versions: 3
Compression:
Stored size: 449 Bytes
Contents
require "spec_helper" describe BootstrapBuilders::Box do include WorkingHelpers it "generates a box by using panels" do html = bs_box("Test title", 300, right: "test") { "test" } expect(html).to include "test" expect(html).to include "Test title" expect(html).to include "width: 300px;" end it "generates a table" do html = bs_box("Test title", table: true) { "trala" } expect(html).to include "<table " end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bootstrap_builders-0.0.3 | spec/bootstrap_helpers/box_spec.rb |
bootstrap_builders-0.0.2 | spec/bootstrap_helpers/box_spec.rb |
bootstrap_builders-0.0.1 | spec/bootstrap_helpers/box_spec.rb |