Sha256: a40b0febb66358fdd42380827296bec21d543b296ef660a06eff20ce163e870a
Contents?: true
Size: 438 Bytes
Versions: 1
Compression:
Stored size: 438 Bytes
Contents
require "test_helper" class Replication::Modules::AssociationTest < ActiveSupport::TestCase test "replicates associations" do Organism.can_replicate with: { associations: [:toolings, reject_if: :all_blank] } organism = organism_object organism.tools.build(name: 'wrench') organism.save strand = organism.unwound(name: 'Monkey with a wrench') assert_includes strand.pairs, :toolings_attributes end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
replication-0.3.0 | test/replication/modules/association_test.rb |