Permalink
Browse files

Added failing test case for adding load paths ($:).

  • Loading branch information...
alloy committed Mar 16, 2009
1 parent 6c7151d commit 1a9d9f68b9dadf458a81cad4cce0b66483da2bce
Showing with 3 additions and 0 deletions.
  1. +2 −0 test_roxor.rb
  2. +1 −0 test_roxor_fixtures/lib/foo.rb
View
@@ -983,6 +983,8 @@ def bar() p 2 end
end
}
+ assert ":ok", "$:.unshift('test_roxor_fixtures/lib'); require 'foo'"
+
end
test "method" do
@@ -0,0 +1 @@
+p :ok

0 comments on commit 1a9d9f6

Please sign in to comment.