]> git.wincent.com - wikitext.git/commitdiff
Clear RUBYOPT in spec environment to keep Bundler out
authorWincent Colaiuta <win@wincent.com>
Sat, 6 Nov 2010 00:08:39 +0000 (01:08 +0100)
committerWincent Colaiuta <win@wincent.com>
Sat, 6 Nov 2010 00:08:39 +0000 (01:08 +0100)
Bundler injects itself into subprocesses, which wreaks havoc with our
Rails tests.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
spec/spec_helper.rb

index 65cd30b998ffc84c66a435ec0ad4915a76afcf4d..28b9a0a448f1fb8009172db10bcaae2c18fe0eaf 100644 (file)
@@ -80,3 +80,5 @@ module UTF8
 end # module UTF8
 
 require 'wikitext'
+
+ENV['RUBYOPT'] = nil