summaryrefslogtreecommitdiff
path: root/test/rake/test_rake_rake_test_loader.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rake/test_rake_rake_test_loader.rb')
-rw-r--r--test/rake/test_rake_rake_test_loader.rb20
1 files changed, 0 insertions, 20 deletions
diff --git a/test/rake/test_rake_rake_test_loader.rb b/test/rake/test_rake_rake_test_loader.rb
deleted file mode 100644
index 0485c4c8ac3..00000000000
--- a/test/rake/test_rake_rake_test_loader.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-require File.expand_path('../helper', __FILE__)
-
-class TestRakeRakeTestLoader < Rake::TestCase
-
- def test_pattern
- orig_loaded_features = $:.dup
- FileUtils.touch 'foo.rb'
- FileUtils.touch 'test_a.rb'
- FileUtils.touch 'test_b.rb'
-
- ARGV.replace %w[foo.rb test_*.rb -v]
-
- load File.join(@rake_lib, 'rake/rake_test_loader.rb')
-
- assert_equal %w[-v], ARGV
- ensure
- $:.replace orig_loaded_features
- end
-
-end