Skip to content

Instantly share code, notes, and snippets.

@jesjos
Created March 20, 2012 11:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jesjos/2134108 to your computer and use it in GitHub Desktop.
Save jesjos/2134108 to your computer and use it in GitHub Desktop.
factory :lab_has_group do
repository
lab
lab_group { Factory.create(:lab_group, given_course: lab.given_course) }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment