Sha256: a2928433a149a4d98072c44b8aca73abd9a3a0134f3276c77fe5511dad7f6a7a
Contents?: true
Size: 587 Bytes
Versions: 16
Compression:
Stored size: 587 Bytes
Contents
FactoryBot.define do factory :cmor_contact_contact_request, class: 'Cmor::Contact::ContactRequest' do name { "John Doe" } email { "john.doe@example.com" } phone { "+491234567890" } if Cmor::Contact::Configuration.contact_request_include_modules.call.include?(Cmor::Contact::ContactRequest::PhoneConcern) subject { "I need help!" } if Cmor::Contact::Configuration.contact_request_include_modules.call.include?(Cmor::Contact::ContactRequest::SubjectConcern) ip_address { "127.0.0.1" } message { "Please callback!" } accept_terms_of_service { true } end end
Version data entries
16 entries across 16 versions & 1 rubygems