Sha256: 3bb667a01b9af8fdc77a6b58e9a7e59220301a2a60a05fcaed89ed32d61a4a6b

Contents?: true

Size: 370 Bytes

Versions: 9

Compression:

Stored size: 370 Bytes

Contents

FactoryGirl.define do
  factory :partially_exclusive_versionable_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 { PartiallyExclusiveVersionableResource.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/partially_exclusive_versionable_resources.rb
rubber_stamp-0.13.0 spec/factories/partially_exclusive_versionable_resources.rb
controlled_versioning-0.12.0 spec/factories/partially_exclusive_versionable_resources.rb
controlled_versioning-0.11.0 spec/factories/partially_exclusive_versionable_resources.rb
controlled_versioning-0.10.0 spec/factories/partially_exclusive_versionable_resources.rb
controlled_versioning-0.9.2 spec/factories/partially_exclusive_versionable_resources.rb
controlled_versioning-0.9.1 spec/factories/partially_exclusive_versionable_resources.rb
controlled_versioning-0.9.0 spec/factories/partially_exclusive_versionable_resources.rb
controlled_versioning-0.8.0 spec/factories/partially_exclusive_versionable_resources.rb