Sha256: c98be36bea7914d0cc4f570301f21ea68e963a9abd3389dc01e697b3949dea58
Contents?: true
Size: 1.26 KB
Versions: 2
Compression:
Stored size: 1.26 KB
Contents
require File.expand_path('../../spec_helper', __FILE__) require File.expand_path('../../../common/adapter_integration_tests', __FILE__) describe 'MiniTest 4 integration' do def adapter_name 'minitest_4' end def error_test <<-EOT #{bootstrap} class FooTest < MiniTest::Unit::TestCase def test_foo object = Object.new mock(object).foo end end EOT end def include_adapter_test <<-EOT #{bootstrap} class MiniTest::Unit::TestCase include RR::Adapters::MiniTest end class FooTest < MiniTest::Unit::TestCase def test_foo object = Object.new mock(object).foo object.foo end end EOT end def include_adapter_where_rr_included_before_test_framework_test <<-EOT #{bootstrap :include_rr_before => true} class MiniTest::Unit::TestCase include RR::Adapters::MiniTest end class FooTest < MiniTest::Unit::TestCase def test_foo object = Object.new mock(object).foo object.foo end end EOT end include AdapterIntegrationTests def adapter_name 'minitest_4' end def test_framework_path 'minitest/autorun' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rr-1.1.0 | spec/suites/rspec_2/integration/minitest_4_spec.rb |
rr-1.1.0.rc3 | spec/suites/rspec_2/integration/minitest_4_spec.rb |