Sha256: 3de1238ff44db7edfeb0ff1261bbb78c38bbe513f8e19eb38b7969f26babed43

Contents?: true

Size: 340 Bytes

Versions: 39

Compression:

Stored size: 340 Bytes

Contents

# frozen_string_literal: true

require 'test_helper'

class FileFieldTest < ActionView::TestCase
  test 'file_field' do
    actual = UiBibz::Ui::Core::Forms::Files::FileField.new('test').render
    expected = "<input type=\"file\" name=\"test\" id=\"test\" value=\"\" class=\"form-control\" />"

    assert_equal expected, actual
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
ui_bibz-4.0.0.beta16 test/ui/core/forms/files/file_field_test.rb
ui_bibz-4.0.0.beta15 test/ui/core/forms/files/file_field_test.rb
ui_bibz-4.0.0.beta14 test/ui/core/forms/files/file_field_test.rb
ui_bibz-4.0.0.beta13 test/ui/core/forms/files/file_field_test.rb
ui_bibz-4.0.0.beta10 test/ui/core/forms/files/file_field_test.rb
ui_bibz-4.0.0.beta9 test/ui/core/forms/files/file_field_test.rb
ui_bibz-4.0.0.beta8 test/ui/core/forms/files/file_field_test.rb
ui_bibz-4.0.0.beta7 test/ui/core/forms/files/file_field_test.rb
ui_bibz-4.0.0.beta6 test/ui/core/forms/files/file_field_test.rb
ui_bibz-4.0.0.beta4 test/ui/core/forms/files/file_field_test.rb
ui_bibz-4.0.0.beta3 test/ui/core/forms/files/file_field_test.rb
ui_bibz-3.0.13 test/ui/core/forms/files/file_field_test.rb
ui_bibz-3.0.12 test/ui/core/forms/files/file_field_test.rb
ui_bibz-3.0.11 test/ui/core/forms/files/file_field_test.rb
ui_bibz-3.0.10 test/ui/core/forms/files/file_field_test.rb
ui_bibz-3.0.9 test/ui/core/forms/files/file_field_test.rb
ui_bibz-3.0.8 test/ui/core/forms/files/file_field_test.rb
ui_bibz-3.0.7 test/ui/core/forms/files/file_field_test.rb
ui_bibz-3.0.6 test/ui/core/forms/files/file_field_test.rb
ui_bibz-3.0.5 test/ui/core/forms/files/file_field_test.rb