Remove the updater_id/updater_ip_addr virtual attributes from pools/notes. Juss pass them in as params to create_version instead.
12 lines
165 B
Ruby
12 lines
165 B
Ruby
FactoryBot.define do
|
|
factory(:note) do
|
|
post
|
|
x 1
|
|
y 1
|
|
width 1
|
|
height 1
|
|
is_active true
|
|
body {FFaker::Lorem.sentences.join(" ")}
|
|
end
|
|
end
|