Sha256: cd311b02a46075c04681d6e1c9b05a156dfdc2b9f20f917987d9c21ac6fccc37
Contents?: true
Size: 535 Bytes
Versions: 13
Compression:
Stored size: 535 Bytes
Contents
require 'test_helper' class CheckboxFieldTest < ActionView::TestCase test 'checkbox_field' do actual = UiBibz::Ui::Core::Forms::Choices::CheckboxField.new('John', { value: 1, status: :primary, type: :circle }).render expected = "<div class=\"abc-checkbox-primary form-check abc-checkbox abc-checkbox-circle\"><input type=\"checkbox\" name=\"John\" id=\"John\" value=\"1\" class=\"form-check-input\" /><label class=\"form-check-label\" for=\"John\">John</label></div>" assert_equal expected, actual end end
Version data entries
13 entries across 13 versions & 1 rubygems