Sha256: 7faa9655dd3bf09aff42d9ea89653b8bb6caf4cff1f0fdec1b612dccce725864

Contents?: true

Size: 324 Bytes

Versions: 5

Compression:

Stored size: 324 Bytes

Contents

FactoryGirl.define do
  factory :handler_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 { HandlerResource.create_with_version(attributes) }

  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
rubber_stamp-0.15.1 spec/factories/handler_resources.rb
rubber_stamp-0.13.0 spec/factories/handler_resources.rb
controlled_versioning-0.12.0 spec/factories/handler_resources.rb
controlled_versioning-0.11.0 spec/factories/handler_resources.rb
controlled_versioning-0.10.0 spec/factories/handler_resources.rb