Sha256: 696bb69c452eed88e465ceec682c3c0f5c3c5ef2c6bd40bb3e5dd2a0de62b6bb

Contents?: true

Size: 320 Bytes

Versions: 8

Compression:

Stored size: 320 Bytes

Contents

FactoryGirl.define do
  factory :johns_meeting, class: UserMeeting do |u|
    u.starts_at '2011-01-05'.to_date
    u.ends_at '2011-01-08'.to_date
    u.user_id 1
  end

  factory :peters_meeting, class: UserMeeting do |u|
    u.starts_at '2011-01-05'.to_date
    u.ends_at '2011-01-08'.to_date
    u.user_id 2
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
validates_overlap-1.0.0 spec/dummy/spec/factories/user_meeting.rb
validates_overlap-0.8.6 spec/dummy/spec/factories/user_meeting.rb
validates_overlap-0.8.5 spec/dummy/spec/factories/user_meeting.rb
validates_overlap-0.8.4 spec/dummy/spec/factories/user_meeting.rb
validates_overlap-0.8.2 spec/dummy/spec/factories/user_meeting.rb
validates_overlap-0.8.1 spec/dummy/spec/factories/user_meeting.rb
validates_overlap-0.8.0 spec/dummy/spec/factories/user_meeting.rb
validates_overlap-0.7.0 spec/dummy/spec/factories/user_meeting.rb