Sha256: d1d8f01a1fc042c3a5bfda5974d70969562ce35d9dba8fec49537f7665f0e02b

Contents?: true

Size: 245 Bytes

Versions: 38

Compression:

Stored size: 245 Bytes

Contents

FactoryGirl.define do
  factory :match do
    association :home_team, :factory => :team
    association :away_team, :factory => :team

    weather   { generate :string }
    beginning { Time.current - rand(200).minutes - 100.minutes }
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
synchronisable-1.3.1 spec/factories/match.rb
synchronisable-1.3.0 spec/factories/match.rb
synchronisable-1.2.7 spec/factories/match.rb
synchronisable-1.2.6 spec/factories/match.rb
synchronisable-1.2.5 spec/factories/match.rb
synchronisable-1.2.4 spec/factories/match.rb
synchronisable-1.2.3 spec/factories/match.rb
synchronisable-1.2.2 spec/factories/match.rb
synchronisable-1.2.1 spec/factories/match.rb
synchronisable-1.2.0 spec/factories/match.rb
synchronisable-1.1.9 spec/factories/match.rb
synchronisable-1.1.8 spec/factories/match.rb
synchronisable-1.1.7 spec/factories/match.rb
synchronisable-1.1.6 spec/factories/match.rb
synchronisable-1.1.5 spec/factories/match.rb
synchronisable-1.1.4 spec/factories/match.rb
synchronisable-1.1.3 spec/factories/match.rb
synchronisable-1.1.2 spec/factories/match.rb
synchronisable-1.1.1 spec/factories/match.rb
synchronisable-1.1.0 spec/factories/match.rb