Sha256: 4bb9ea201bf34c0c801c3d2103512f7cb47e05fb46e46a3ada91fa0522b5711d
Contents?: true
Size: 745 Bytes
Versions: 37
Compression:
Stored size: 745 Bytes
Contents
require 'test_helper' class FormulaFieldTest < ActionView::TestCase test 'formula_field' do actual = UiBibz::Ui::Core::Forms::Numbers::FormulaField.new('value').render expected = "<div class=\"formula_field input-group ui_surround_field\"><input type=\"text\" name=\"value_formula\" id=\"value_formula\" class=\"formula-field form-control\" /><span class=\"formula-field-sign input-group-addon\">=</span><input type=\"text\" name=\"value\" id=\"value\" class=\"formula-field-result form-control\" readonly=\"readonly\" /><span data-toggle=\"tooltip\" class=\"formula-field-alert input-group-addon\"><i class=\"glyph-danger glyph fas fa-exclamation-triangle\"></i></span></div>" assert_equal expected, actual end end
Version data entries
37 entries across 37 versions & 1 rubygems