discourse/spec/fabricators/incoming_link_fabricator.rb
2013-02-05 14:16:51 -05:00

9 lines
274 B
Ruby

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