diff --git a/test_roxor.rb b/test_roxor.rb index 266f880a9..518139a53 100644 --- a/test_roxor.rb +++ b/test_roxor.rb @@ -983,6 +983,8 @@ def bar() p 2 end end } + assert ":ok", "$:.unshift('test_roxor_fixtures/lib'); require 'foo'" + end test "method" do diff --git a/test_roxor_fixtures/lib/foo.rb b/test_roxor_fixtures/lib/foo.rb new file mode 100644 index 000000000..693c42e38 --- /dev/null +++ b/test_roxor_fixtures/lib/foo.rb @@ -0,0 +1 @@ +p :ok \ No newline at end of file