rosa-build/spec/factories/hook.rb

8 lines
155 B
Ruby
Raw Normal View History

2013-04-15 12:47:53 +01:00
FactoryGirl.define do
factory :hook do
name 'web'
2014-01-21 04:51:49 +00:00
association :project, factory: :project
data { |hook| hook.data = {url: 'url'} }
2013-04-15 12:47:53 +01:00
end
end