Sha256: 3bf2ff485cba5eeb179e64c93f885fec35a21da82caf3b7ad81948ff687d5aaf
Contents?: true
Size: 396 Bytes
Versions: 16
Compression:
Stored size: 396 Bytes
Contents
module TestCase module TestUnit attr_accessor :superclass def include_adapter_tests add_to_before_tests <<-EOT include AdapterTests::TestUnit EOT end private def start_of_test_case "class FooTest < #{superclass}" end def build_test(index, body) ["def test_#{index}", body, "end"].map { |line| line + "\n" }.join end end end
Version data entries
16 entries across 16 versions & 1 rubygems