Sha256: 761f34264d942aad3c21d7a17179fdf90850e3d3b765cc930ecda7807947dd27
Contents?: true
Size: 385 Bytes
Versions: 2
Compression:
Stored size: 385 Bytes
Contents
require 'factory_girl' require 'moblues/data_model/relationship' FactoryGirl.define do factory :relationship, class: Moblues::DataModel::Relationship do name 'relationship' destination_entity 'DestinationEntity' to_many true ordered true initialize_with { new(name: name, destination_entity: destination_entity, to_many: to_many, ordered: ordered) } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
moblues-0.1.0 | spec/resources/factories/data_model/relationship_factory.rb |
moblues-0.0.1 | spec/resources/factories/data_model/relationship_factory.rb |