Sha256: ac144820541804767ad9361b2fdf3ea18a129961f107bc044d6da46261f72d10

Contents?: true

Size: 354 Bytes

Versions: 34

Compression:

Stored size: 354 Bytes

Contents

# Helper for the fieldset to create valid attributes and other data used in multiple tests
module FieldsetHelper
  # attributes for a fieldset
  # @returns [Hash] all attributes needed to pass validations
  def valid_attributes
    {
      :name => "Hire Form",
      :description => "Hire a person for a job",
      :nkey => "hire_form"
    }
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

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