Sha256: b39d3f477283ff65a7504bc6f8a70bc64121cd36ce6c742a01b3fff5c39c3bdb
Contents?: true
Size: 690 Bytes
Versions: 2
Compression:
Stored size: 690 Bytes
Contents
FactoryGirl.define do factory :event, class: "Renalware::Events::Event" do accountable patient event_type factory: :events_type date_time Time.zone.now description "Needs blood sample taken." notes "Would like son to accompany them on clinic visit." factory :simple_event, class: "Renalware::Events::Simple" do end factory :swab, class: "Renalware::Events::Swab" do event_type factory: :swab_event_type document { { type: Renalware::Events::Swab::Document.type.values.first, result: Renalware::Events::Swab::Document.result.values.first, location: "The location" } } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
renalware-core-2.0.0.pre.beta9 | spec/factories/events/events.rb |
renalware-core-2.0.0.pre.beta8 | spec/factories/events/events.rb |