Sha256: bf485fcde3c67f1c87bc386fc220455a672714b1479253f11022ed397e61dffa
Contents?: true
Size: 363 Bytes
Versions: 16
Compression:
Stored size: 363 Bytes
Contents
module TestCase module RSpec def include_adapter_tests add_to_before_tests <<-EOT include AdapterTests::RSpec EOT end private def start_of_test_case "describe 'A test case' do" end def build_test(index, body) ["it 'is test ##{index}' do", body, "end"].map { |line| line + "\n" }.join end end end
Version data entries
16 entries across 16 versions & 1 rubygems