Sha256: 72cee823809c9d589bc527bb558c774f44d4039811e053528f97dcbef01714f0
Contents?: true
Size: 744 Bytes
Versions: 4
Compression:
Stored size: 744 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 fa fa-exclamation-triangle\"></i></span></div>" assert_equal expected, actual end end
Version data entries
4 entries across 4 versions & 1 rubygems