Skip to content

Commit

Permalink
Added failing test case for adding load paths ($:).
Browse files Browse the repository at this point in the history
  • Loading branch information
alloy committed Mar 16, 2009
1 parent 6c7151d commit 1a9d9f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test_roxor.rb
Expand Up @@ -983,6 +983,8 @@ def bar() p 2 end
end
}

assert ":ok", "$:.unshift('test_roxor_fixtures/lib'); require 'foo'"

end

test "method" do
Expand Down
1 change: 1 addition & 0 deletions test_roxor_fixtures/lib/foo.rb
@@ -0,0 +1 @@
p :ok

0 comments on commit 1a9d9f6

Please sign in to comment.