Sha256: e3c84a479f83623b1c6e552f0e830b93380ceab22c52318c75dcb397df484de3

Contents?: true

Size: 338 Bytes

Versions: 9

Compression:

Stored size: 338 Bytes

Contents

FactoryGirl.define do
  factory :nonversionable_resource do
    r_boolean true
    r_date Date.today
    r_datetime DateTime.now
    r_decimal 3.14
    r_float 3.14
    r_integer 3
    r_string "my string"
    r_text "my text"
    r_time Time.now

    initialize_with { NonVersionableResource.create_with_version(attributes) }

  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
rubber_stamp-0.15.1 spec/factories/unversionable_resources.rb
rubber_stamp-0.13.0 spec/factories/unversionable_resources.rb
controlled_versioning-0.12.0 spec/factories/unversionable_resources.rb
controlled_versioning-0.11.0 spec/factories/unversionable_resources.rb
controlled_versioning-0.10.0 spec/factories/unversionable_resources.rb
controlled_versioning-0.9.2 spec/factories/unversionable_resources.rb
controlled_versioning-0.9.1 spec/factories/unversionable_resources.rb
controlled_versioning-0.9.0 spec/factories/unversionable_resources.rb
controlled_versioning-0.8.0 spec/factories/unversionable_resources.rb