Sha256: 176069385c34ff27e94ea02c44f82ee0ba6b1d6d55dabedeefc52b74380a9783

Contents?: true

Size: 360 Bytes

Versions: 36

Compression:

Stored size: 360 Bytes

Contents

# Helper for the fieldset to create valid attributes and other data used in multiple tests
module FieldHtmlAttributeHelper
  # attributes for a html attribute
  # @returns [Hash] all attributes needed to pass validations
  def valid_attributes
    {
      :id => 1,
      :field_id => 1,
      :attribute_name => "class",
      :value => "on"
    }
  end

end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
dynamic_fieldsets-0.1.20 spec/support/field_html_attribute_helper.rb
dynamic_fieldsets-0.1.19 spec/support/field_html_attribute_helper.rb
dynamic_fieldsets-0.1.18 spec/support/field_html_attribute_helper.rb
dynamic_fieldsets-0.1.17 spec/support/field_html_attribute_helper.rb
dynamic_fieldsets-0.1.16 spec/support/field_html_attribute_helper.rb
dynamic_fieldsets-0.1.15 spec/support/field_html_attribute_helper.rb
dynamic_fieldsets-0.1.14 spec/support/field_html_attribute_helper.rb
dynamic_fieldsets-0.1.13 spec/support/field_html_attribute_helper.rb
dynamic_fieldsets-0.1.12 spec/support/field_html_attribute_helper.rb
dynamic_fieldsets-0.1.11 spec/support/field_html_attribute_helper.rb
dynamic_fieldsets-0.1.10 spec/support/field_html_attribute_helper.rb
dynamic_fieldsets-0.1.9 spec/support/field_html_attribute_helper.rb
dynamic_fieldsets-0.1.8 spec/support/field_html_attribute_helper.rb
dynamic_fieldsets-0.1.7 spec/support/field_html_attribute_helper.rb
dynamic_fieldsets-0.1.6 spec/support/field_html_attribute_helper.rb
dynamic_fieldsets-0.1.5 spec/support/field_html_attribute_helper.rb
dynamic_fieldsets-0.1.4 spec/support/field_html_attribute_helper.rb
dynamic_fieldsets-0.1.3 spec/support/field_html_attribute_helper.rb
dynamic_fieldsets-0.1.2 spec/support/field_html_attribute_helper.rb
dynamic_fieldsets-0.1.1 spec/support/field_html_attribute_helper.rb