Sha256: b2c70fc80b39f118b55e36239d43ad0faef8468af98458b4e6a5fdf61c2deaef
Contents?: true
Size: 451 Bytes
Versions: 24
Compression:
Stored size: 451 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=\"abc-checkbox-primary checkbox abc-checkbox\"><input type=\"radio\" name=\"John\" id=\"John_1\" value=\"1\" /><label for=\"John_1\">John</label></div>" assert_equal expected, actual end end
Version data entries
24 entries across 24 versions & 1 rubygems