Sha256: 4b60d1315925b0e34a6702308b02efd4cc979191fc23c6caceb9039ce677cc42

Contents?: true

Size: 456 Bytes

Versions: 4

Compression:

Stored size: 456 Bytes

Contents

shared_examples 'Unidom::Standard::Concerns::AsTargetStandard' do |model_attributes|

  context do

    source_associating_1_attributes = {
      source_id: SecureRandom.uuid
    }

    source_associating_2_attributes = {
      source_id: SecureRandom.uuid
    }

    it_behaves_like 'has_many', model_attributes, :source_associatings, Unidom::Standard::StandardAssociating, [ source_associating_1_attributes, source_associating_2_attributes ]

  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
unidom-standard-2.0 lib/rspec/models/unidom/standard/concerns/as_target_standard_shared_examples.rb
unidom-standard-1.4.9 lib/rspec/models/unidom/standard/concerns/as_target_standard_shared_examples.rb
unidom-standard-1.4.8 lib/rspec/models/unidom/standard/concerns/as_target_standard_shared_examples.rb
unidom-standard-1.4.7 lib/rspec/models/unidom/standard/concerns/as_target_standard_shared_examples.rb