Sha256: 0c54d4b98efad9c2644041c63fc8c04f270cefb135fbcd9e93ab98b8cbf640b8

Contents?: true

Size: 264 Bytes

Versions: 7

Compression:

Stored size: 264 Bytes

Contents

# frozen_string_literal: true

require 'test_helper'

class ColorInputTest < ActionView::TestCase
  test 'input generates a color field' do
    with_input_for @user, :favorite_color, :color
    assert_select 'input[type=color].color#user_favorite_color'
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
simple_form-5.2.0 test/inputs/color_input_test.rb
simple_form-5.1.0 test/inputs/color_input_test.rb
simple_form-5.0.3 test/inputs/color_input_test.rb
simple_form-5.0.2 test/inputs/color_input_test.rb
simple_form-5.0.1 test/inputs/color_input_test.rb
simple_form-5.0.0 test/inputs/color_input_test.rb
simple_form-4.1.0 test/inputs/color_input_test.rb