Sha256: 58af35e17f85f43d9d2a516a5d43f5571890b609253188ad6c738e8da3af15cb
Contents?: true
Size: 355 Bytes
Versions: 10
Compression:
Stored size: 355 Bytes
Contents
require_relative 'helper' class TestSubclassTracking < Sidetiq::TestCase class Foo extend Sidetiq::SubclassTracking end class Bar < Foo end class Baz < Bar end def test_subclasses_non_recursive assert_equal [Bar], Foo.subclasses end def test_subclasses_recursive assert_equal [Bar, Baz], Foo.subclasses(true) end end
Version data entries
10 entries across 10 versions & 1 rubygems