update factories + tests
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
FactoryBot.define do
|
||||
factory(:note) do
|
||||
post
|
||||
x 1
|
||||
y 1
|
||||
width 1
|
||||
height 1
|
||||
is_active true
|
||||
body {FFaker::Lorem.sentences.join(" ")}
|
||||
x { 1 }
|
||||
y { 1 }
|
||||
width { 1 }
|
||||
height { 1 }
|
||||
is_active { true }
|
||||
body { FFaker::Lorem.sentences.join(" ") }
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user