Sha256: 891d0073f80e95fdc735b57461e985cab2fe29480c4a7dc2a604fdfbdb8a9715
Contents?: true
Size: 438 Bytes
Versions: 5
Compression:
Stored size: 438 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!(:name => "TEST") child = archival.archivals.create! child.archive assert_equal 1, Archival.unarchived.count(:joins => :archivals) end end
Version data entries
5 entries across 5 versions & 1 rubygems