21 lines
300 B
Ruby
21 lines
300 B
Ruby
|
require 'faker'
|
||
|
FactoryGirl.define do
|
||
|
factory :note do
|
||
|
|
||
|
|
||
|
sequence(:content){ |n| "This is comment content#{n}"}
|
||
|
|
||
|
|
||
|
|
||
|
factory :note_content_nil do
|
||
|
content nil
|
||
|
end
|
||
|
|
||
|
factory :note_content_allspace do
|
||
|
content " "
|
||
|
end
|
||
|
|
||
|
|
||
|
end
|
||
|
end
|