update factories + tests

This commit is contained in:
Albert Yi
2019-05-10 17:31:07 -07:00
parent 32b4e0a01e
commit 04edc3f533
26 changed files with 81 additions and 83 deletions

View File

@@ -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