1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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.
This commit is contained in:
claudiob 2014-11-28 19:01:10 -08:00 committed by Rafael Mendonça França
parent a856b3dc2c
commit 36effd916c

View file

@ -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