Skip to content

Instantly share code, notes, and snippets.

@chewmanfoo
Created January 15, 2013 22:51
Show Gist options
  • Save chewmanfoo/4542930 to your computer and use it in GitHub Desktop.
Save chewmanfoo/4542930 to your computer and use it in GitHub Desktop.
FactoryGirl.define do
factory :deployment do
# no idea what to do here
# supposed to build a Deployment instance
app = Application.find(282)
rle = Role.find(182)
env = Environment.find(2)
build_number '13.1.144-1'
role << rle
environment << env
applocation << app
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment