Sha256: 63af7d69575c69b451f2fceaa3fe8ceb45497d2963275ac0ab56b12a7ffcd3f4
Contents?: true
Size: 417 Bytes
Versions: 2
Compression:
Stored size: 417 Bytes
Contents
require_relative "test_helper" class AmbiguousTableTest < ActiveSupport::TestCase # test against the problem fixed in http://github.com/DarkTatka/acts_as_archival/commit/63d0a2532a15d7a6ab41d081e1591108a5ea9b37 test "no ambiguous table problem" do archival = Archival.create! child = archival.archivals.create! child.archive assert_equal 1, Archival.unarchived.joins(:archivals).count end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
acts_as_archival-0.5.3 | test/ambiguous_table_test.rb |
acts_as_archival-0.5.2 | test/ambiguous_table_test.rb |