User factory associations for all factories.
This commit is contained in:
parent
1a5161a9c8
commit
a3618d2b5f
10 changed files with 13 additions and 25 deletions
|
@ -3,8 +3,7 @@ FactoryGirl.define do
|
|||
sequence(:name) { |n| "Trace #{n}.gpx" }
|
||||
sequence(:description) { |n| "This is trace #{n}" }
|
||||
|
||||
# Fixme requires User Factory
|
||||
user_id 1
|
||||
user
|
||||
|
||||
timestamp Time.now
|
||||
inserted true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue