discourse/spec/fabricators/incoming_link_fabricator.rb

10 lines
274 B
Ruby
Raw Normal View History

2013-02-05 14:16:51 -05:00
Fabricator(:incoming_link) do
url 'http://localhost:3000/t/pinball/76/6'
referer 'https://twitter.com/evil_trout'
end
Fabricator(:incoming_link_not_topic, from: :incoming_link) do
url 'http://localhost:3000/made-up-url'
referer 'https://twitter.com/evil_trout'
end