Sha256: bd4ddb54ee28bd5ad711e3c5c9914a1004543c1a3dd9835d1b633726df1cf359
Contents?: true
Size: 599 Bytes
Versions: 5
Compression:
Stored size: 599 Bytes
Contents
FactoryBot.define do factory :vendor, class: Spree::Vendor do name { FFaker::Company.name } about_us { 'About us...' } contact_us { 'Contact us...' } factory :active_vendor do name { 'Active vendor' } state { :active } end factory :active_vendor_list do name { "#{FFaker::Company.name} #{FFaker::Company.suffix }" } state { :active } end factory :pending_vendor do name { 'Pending vendor' } state { :pending } end factory :blocked_vendor do name { 'Blocked vendor' } state { :blocked } end end end
Version data entries
5 entries across 5 versions & 2 rubygems