Sha256: ed0a2caf55a25b49179090c13cc88ec20bb4500b3ca57ad8de4d8854bbae96cf

Contents?: true

Size: 321 Bytes

Versions: 15

Compression:

Stored size: 321 Bytes

Contents

FactoryGirl.define do
  factory :remote_team_group_statistic, class: Hash do
    id { generate :team_id }
    team_id { id }

    games_played { generate :integer }
    games_won { generate :integer }
    games_lost { generate :integer }
    games_draw { generate :integer }

    initialize_with { attributes }
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
synchronisable-1.1.4 spec/factories/remote/team_group_statistic.rb
synchronisable-1.1.3 spec/factories/remote/team_group_statistic.rb
synchronisable-1.1.2 spec/factories/remote/team_group_statistic.rb
synchronisable-1.1.1 spec/factories/remote/team_group_statistic.rb
synchronisable-1.1.0 spec/factories/remote/team_group_statistic.rb
synchronisable-1.0.9 spec/factories/remote/team_group_statistic.rb
synchronisable-1.0.8 spec/factories/remote/team_group_statistic.rb
synchronisable-1.0.7 spec/factories/remote/team_group_statistic.rb
synchronisable-1.0.6 spec/factories/remote/team_group_statistic.rb
synchronisable-1.0.5 spec/factories/remote/team_group_statistic.rb
synchronisable-1.0.4 spec/factories/remote/team_group_statistic.rb
synchronisable-1.0.3 spec/factories/remote/team_group_statistic.rb
synchronisable-1.0.2 spec/factories/remote/team_group_statistic.rb
synchronisable-1.0.1 spec/factories/remote/team_group_statistic.rb
synchronisable-1.0.0 spec/factories/remote/team_group_statistic.rb