# Read about factories at https://github.com/thoughtbot/factory_girl FactoryGirl.define do factory :workout do date Time.now end end