Sha256: 884b57cf5b116db5c70ceaf6c571711bdedb7a09c68dc4ba90f446fc6bf237df
Contents?: true
Size: 394 Bytes
Versions: 38
Compression:
Stored size: 394 Bytes
Contents
require 'rails_helper' describe Tabulatr::Renderer::Checkbox do describe "#human_name" do it "generates a checkbox" do checkbox = Tabulatr::Renderer::Checkbox.new expect(checkbox.human_name).to match(/\A<input.+\/>\z/) expect(checkbox.human_name).to match(/class="tabulatr_mark_all"/) expect(checkbox.human_name).to match(/type="checkbox"/) end end end
Version data entries
38 entries across 38 versions & 1 rubygems