allpro/spec/factories/workouts.rb

9 lines
189 B
Ruby
Raw Permalink Normal View History

2013-08-04 20:58:01 -04:00
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do
factory :workout do
2013-08-04 23:40:58 -04:00
date Time.now
2013-08-10 22:15:26 -04:00
day_type { %w(heavy medium light).sample }
2013-08-04 20:58:01 -04:00
end
end