test/replication/modules/association_test.rb in replication-0.3.0 vs test/replication/modules/association_test.rb in replication-0.3.1

- old
+ new

@@ -8,9 +8,13 @@ organism = organism_object organism.tools.build(name: 'wrench') organism.save strand = organism.unwound(name: 'Monkey with a wrench') + Tooling.create(tool: Tool.first) # create unassociated tooling + assert_includes strand.pairs, :toolings_attributes + assert_equal 1, strand.pairs[:toolings_attributes].length + assert_equal 2, Tooling.count end end