Sha256: 106a7cd5203d36846abe5c7a1126b0932fd2db86580499523735602a2cd38bf6
Contents?: true
Size: 581 Bytes
Versions: 16
Compression:
Stored size: 581 Bytes
Contents
FactoryGirl.define do factory :user, class: Class.new(OpenStruct) do in_renewal false member_type 'P' renew_type 'R' status 'A' has_outstanding_balance false member? true trait :non_member do member? false end trait :with_accr do renew_type 'A' end trait :with_mpp do renew_type 'M' end trait :in_renewal do in_renewal true end trait :in_renewal_late do in_renewal true status 'AL' end trait :outstanding_balance do has_outstanding_balance true end end end
Version data entries
16 entries across 16 versions & 1 rubygems