FactoryGirl.define do factory :table do sequence(:title) { |n| "Test Table #{n}" } current_game { FactoryGirl.create(:game) } end end