Sha256: edfd9d466a959b1a2b6590fe7088d00a983233da28feb895383e7eb7af6df128
Contents?: true
Size: 738 Bytes
Versions: 33
Compression:
Stored size: 738 Bytes
Contents
# frozen_string_literal: true 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-text">=</span><input type="text" name="value" id="value" class="formula-field-result form-control" readonly="readonly" /><span data-bs-toggle="tooltip" class="formula-field-alert input-group-text"><i class="glyph-danger glyph fas fa-exclamation-triangle"></i></span></div>' assert_equal expected, actual end end
Version data entries
33 entries across 33 versions & 1 rubygems