Sha256: 853a5ba808bd908ef645d21c4c993f75c1aabad20ef4deea2bfae0623893f2bb
Contents?: true
Size: 498 Bytes
Versions: 20
Compression:
Stored size: 498 Bytes
Contents
require 'test_helper' class RadioFieldTest < ActionView::TestCase test 'radio_field' do actual = UiBibz::Ui::Core::Forms::Choices::RadioField.new('John', { value: 1, status: :primary, type: :square }).render expected = "<div class=\"custom-control custom-radio\"><input type=\"radio\" name=\"John\" id=\"John_1\" value=\"1\" class=\"custom-control-input\" /><label class=\"custom-control-label\" for=\"John_1\">John</label></div>" assert_equal expected, actual end end
Version data entries
20 entries across 20 versions & 1 rubygems