Update test factories to run without input of instances
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
FactoryBot.define do
|
||||
factory(:post_replacement) do
|
||||
post factory: :post, source: FFaker::Internet.http_url
|
||||
original_url { FFaker::Internet.http_url }
|
||||
replacement_url { FFaker::Internet.http_url }
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user