Skip to content

Commit

Permalink
skip test which ensure current directory is NOT on loadpath
Browse files Browse the repository at this point in the history
old load-service will find it. new load-service will not find it.
  • Loading branch information
mkristian committed Mar 31, 2015
1 parent 111011d commit 0ee53c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/jruby/test_load.rb
Expand Up @@ -47,6 +47,7 @@ def test_require
end

def test_require_without_current_dir_in_load_path
skip( 'old load service will find those files. regular tests switch ruby CWD and work. this test keeps java CWD and ruby CWD the same' )
$LOAD_PATH.delete '.'
assert_raises(LoadError) { require('test/jruby/dummy') }
assert require('./test/jruby/dummy')
Expand Down

0 comments on commit 0ee53c5

Please sign in to comment.