summaryrefslogtreecommitdiff
path: root/test/testunit
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-04 12:31:31 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-04 12:31:31 +0000
commitc4ee0df8ba2cf7cc6aaa785c8df20a91b1719021 (patch)
tree06beca468cce4a75a3e9890d18aa001ef2c41e54 /test/testunit
parent8c0b2a286080609613b6b007e030ff7c7adaa23c (diff)
* lib/rake/*: Gemify rake [fix GH-862][Feature #11025]
* test/rake/*: ditto. * tool/rbinstall.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/testunit')
-rw-r--r--test/testunit/test_rake_integration.rb35
1 files changed, 0 insertions, 35 deletions
diff --git a/test/testunit/test_rake_integration.rb b/test/testunit/test_rake_integration.rb
deleted file mode 100644
index 0d0f8ef..0000000
--- a/test/testunit/test_rake_integration.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-require 'minitest/autorun'
-require 'tmpdir'
-
-class RakeIntegration < MiniTest::Unit::TestCase
- include Test::Unit::Assertions
- RAKE_LOADER = File.expand_path(
- File.join(
- File.dirname(__FILE__),
- '..',
- '..',
- 'lib',
- 'rake',
- 'rake_test_loader.rb'))
-
- def test_with_rake_runner
- Dir.mktmpdir do |dir|
- filename = File.join dir, 'testing.rb'
- File.open(filename, 'wb') do |f|
- f.write <<-eotest
-$LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../lib"
-require 'test/unit'
-raise 'loaded twice' if defined?(FooTest)
-class FooTest; end
- eotest
- end
-
- args = %w{ -w } + [RAKE_LOADER, filename]
- bug3972 = "[ruby-core:32864]"
- status = assert_in_out_err(args, "",
- /0 tests, 0 assertions, 0 failures, 0 errors, 0 skips/,
- [], bug3972)
- assert_equal(true, status.success?, bug3972)
- end
- end
-end