Sha256: f44ef5e994ae0d08ffe6387d8f0581ebcd4a5399c37639ac9d42629040606dfa
Contents?: true
Size: 359 Bytes
Versions: 41
Compression:
Stored size: 359 Bytes
Contents
require 'mechanize/test_case' class TestMechanizeSubclass < Mechanize::TestCase class Parent < Mechanize @html_parser = :parser @log = :log end class Child < Parent end def test_subclass_inherits_html_parser assert_equal :parser, Child.html_parser end def test_subclass_inherits_log assert_equal :log, Child.log end end
Version data entries
41 entries across 41 versions & 5 rubygems