signature.rb 270 B

12345678
  1. FactoryBot.define do
  2. factory :signature do
  3. sequence(:name) { |n| "Test signature #{n}" }
  4. body { '#{user.firstname} #{user.lastname}'.text2html } # rubocop:disable Lint/InterpolationCheck
  5. created_by_id { 1 }
  6. updated_by_id { 1 }
  7. end
  8. end