Sha256: 6d79af8ee973a8fa7287859aaab16702bffdf000f43a61262041d7c88666a6da

Contents?: true

Size: 256 Bytes

Versions: 22

Compression:

Stored size: 256 Bytes

Contents

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

22 entries across 22 versions & 2 rubygems

Version Path
sufia-6.2.0 spec/support/input_support.rb
sufia-6.1.0 spec/support/input_support.rb
sufia-6.0.0 spec/support/input_support.rb
sufia-6.0.0.rc4 spec/support/input_support.rb
sufia-6.0.0.rc3 spec/support/input_support.rb
sufia-6.0.0.rc2 spec/support/input_support.rb
sufia-6.0.0.rc1 spec/support/input_support.rb
curate-0.6.6 spec/support/input_support.rb
curate-0.6.5 spec/support/input_support.rb
curate-0.6.4 spec/support/input_support.rb
curate-0.6.3 spec/support/input_support.rb
curate-0.6.1 spec/support/input_support.rb
curate-0.6.0 spec/support/input_support.rb
curate-0.5.6 spec/support/input_support.rb
curate-0.5.5 spec/support/input_support.rb
curate-0.5.4 spec/support/input_support.rb
curate-0.5.2 spec/support/input_support.rb
curate-0.5.1 spec/support/input_support.rb
curate-0.5.0 spec/support/input_support.rb
curate-0.4.2 spec/support/input_support.rb