aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/load_error_tests.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/test/core_ext/load_error_tests.rb')
-rw-r--r--activesupport/test/core_ext/load_error_tests.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/activesupport/test/core_ext/load_error_tests.rb b/activesupport/test/core_ext/load_error_tests.rb
deleted file mode 100644
index 34c5cb4cda..0000000000
--- a/activesupport/test/core_ext/load_error_tests.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-require File.dirname(__FILE__) + '/../abstract_unit'
-
-class TestMissingSourceFile < Test::Unit::TestCase
- def test_with_require
- assert_raises(MissingSourceFile) { require 'no_this_file_don\'t_exist' }
- end
- def test_with_load
- assert_raises(MissingSourceFile) { load 'nor_does_this_one' }
- end
- def test_path
- begin load 'nor/this/one.rb'
- rescue MissingSourceFile => e
- assert_equal 'nor/this/one.rb', e.path
- end
- end
-end