Permalink
Browse files

add failing test_require_subdir test

  • Loading branch information...
1 parent 9898570 commit 761bcead85fcf4a7dea6833f3e91548d5477b878 @bct bct committed Mar 22, 2011
Showing with 4 additions and 0 deletions.
  1. +3 −0 test/require_relative_test.rb
  2. +1 −0 test/subdir/bar.rb
@@ -14,5 +14,8 @@ def test_require_relative
assert require_relative('test/foo')
end
+ def test_require_relative_subdir
+ assert require_relative('test/subdir/bar')
+ end
end
View
@@ -0,0 +1 @@
+require_relative '../foo'

0 comments on commit 761bcea

Please sign in to comment.