Skip to content

Instantly share code, notes, and snippets.

@patrickjholloway
Created November 26, 2013 15:11
Show Gist options
  • Save patrickjholloway/7660004 to your computer and use it in GitHub Desktop.
Save patrickjholloway/7660004 to your computer and use it in GitHub Desktop.
let(:user){ FactoryGirl.create(:user, name: 'user_name') }
let(:project){ FactoryGirl.create(:project, name: 'project_name', description: 'project_description', owner: user, users: [user] ) }
let(:project_membership){ FactoryGirl.create(:project_membership, name: 'project_membership', user: user, project: project) }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment