Sha256: 2ee099637e9ada69ee9ccb54ef80f77cee9217646a88dbed13bdd5d9b282c0b0

Contents?: true

Size: 370 Bytes

Versions: 9

Compression:

Stored size: 370 Bytes

Contents

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