Sha256: c574b058062f999351bd008ea53c451bce2e03c63c93f18ac8bc0d6d5bcc01ca
Contents?: true
Size: 895 Bytes
Versions: 2
Compression:
Stored size: 895 Bytes
Contents
FactoryBot.define do factory :magic_request, class: Hash do initialize_with { attributes } action nil appname nil userid nil patientid nil token nil parameter1 nil parameter2 nil parameter3 nil parameter4 nil parameter5 nil parameter6 nil data nil skip_create end factory :populated_magic_request, parent: :magic_request do action %w(GetServerInfo GetProviders).sample appname Faker::Company.name userid %w(jmedici lmccoy).sample patientid Faker::Number.number(3) token SecureRandom.uuid parameter1 Faker::Internet.domain_word parameter2 Faker::Internet.domain_word parameter3 Faker::Internet.domain_word parameter4 Faker::Internet.domain_word parameter5 Faker::Internet.domain_word parameter6 Faker::Internet.domain_word data Faker::Internet.domain_word skip_create end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
allscripts_unity_client-4.0.1 | spec/factories/magic_request_factory.rb |
allscripts_unity_client-4.0.0 | spec/factories/magic_request_factory.rb |