aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/dependencies_test.rb
diff options
context:
space:
mode:
authorclaudiob <claudiob@gmail.com>2014-11-28 19:01:10 -0800
committerRafael Mendonça França <rafaelmfranca@gmail.com>2015-01-04 15:54:21 -0300
commit36effd916c1f372ae94bcff54e947050538aa12d (patch)
treec3a164ff06f3447a0b221d01bec233fa3ed1f665 /activesupport/test/dependencies_test.rb
parenta856b3dc2cf6715c96d117996994e3eb092eae59 (diff)
downloadrails-36effd916c1f372ae94bcff54e947050538aa12d.tar.gz
rails-36effd916c1f372ae94bcff54e947050538aa12d.tar.bz2
rails-36effd916c1f372ae94bcff54e947050538aa12d.zip
Remove LoadError#path hack for Ruby 1.9
Now that Rails requires Ruby >= 2.0 there is need to skip the `test_depend_on_path` test.
Diffstat (limited to 'activesupport/test/dependencies_test.rb')
-rw-r--r--activesupport/test/dependencies_test.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/activesupport/test/dependencies_test.rb b/activesupport/test/dependencies_test.rb
index d780acf5f9..702e26859a 100644
--- a/activesupport/test/dependencies_test.rb
+++ b/activesupport/test/dependencies_test.rb
@@ -28,8 +28,6 @@ class DependenciesTest < ActiveSupport::TestCase
end
def test_depend_on_path
- skip "LoadError#path does not exist" if RUBY_VERSION < '2.0.0'
-
expected = assert_raises(LoadError) do
Kernel.require 'omgwtfbbq'
end