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

Version Path
cmor_contact-0.0.60.pre spec/factories/cmor_contact_contact_requests.rb
cmor_contact-0.0.59.pre spec/factories/cmor_contact_contact_requests.rb
cmor_contact-0.0.58.pre spec/factories/cmor_contact_contact_requests.rb
cmor_contact-0.0.57.pre spec/factories/cmor_contact_contact_requests.rb
cmor_contact-0.0.56.pre spec/factories/cmor_contact_contact_requests.rb
cmor_contact-0.0.55.pre spec/factories/cmor_contact_contact_requests.rb
cmor_contact-0.0.54.pre spec/factories/cmor_contact_contact_requests.rb
cmor_contact-0.0.53.pre spec/factories/cmor_contact_contact_requests.rb
cmor_contact-0.0.51.pre spec/factories/cmor_contact_contact_requests.rb
cmor_contact-0.0.50.pre spec/factories/cmor_contact_contact_requests.rb
cmor_contact-0.0.49.pre spec/factories/cmor_contact_contact_requests.rb
cmor_contact-0.0.48.pre spec/factories/cmor_contact_contact_requests.rb
cmor_contact-0.0.45.pre spec/factories/cmor_contact_contact_requests.rb
cmor_contact-0.0.44.pre spec/factories/cmor_contact_contact_requests.rb
cmor_contact-0.0.43.pre spec/factories/cmor_contact_contact_requests.rb
cmor_contact-0.0.42.pre spec/factories/cmor_contact_contact_requests.rb