Sha256: d9cb99f41b850d0dacbf32367f31dd72fd59511d81dc456093ec68ca7f2ae779

Contents?: true

Size: 287 Bytes

Versions: 2

Compression:

Stored size: 287 Bytes

Contents

# frozen_string_literal: true
module InputSupport
  extend ActiveSupport::Concern

  include RSpec::Rails::HelperExampleGroup

  def input_for(object, attribute_name, options = {})
    helper.simple_form_for object, url: '' do |f|
      f.input attribute_name, options
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hyrax-5.0.0 spec/support/input_support.rb
hyrax-5.0.0.rc3 spec/support/input_support.rb