From 52462b0e4651979faf5148ab31eecd958bd9a7aa Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Wed, 2 Dec 2009 02:46:50 -0500 Subject: [PATCH] Use require 'fakefs/safe' in test helper requires. Temporarily fixes #24 --- test/fakefs_test.rb | 2 +- test/verify.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/fakefs_test.rb b/test/fakefs_test.rb index 8e31376..6de4556 100644 --- a/test/fakefs_test.rb +++ b/test/fakefs_test.rb @@ -1,5 +1,5 @@ $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib') -require 'fakefs' +require 'fakefs/safe' require 'test/unit' class FakeFSTest < Test::Unit::TestCase diff --git a/test/verify.rb b/test/verify.rb index 87f72fe..8e5cb05 100644 --- a/test/verify.rb +++ b/test/verify.rb @@ -3,7 +3,7 @@ # USAGE # # $ ruby test/verify.rb | grep "not implemented" -require 'fakefs' +require 'fakefs/safe' require 'test/unit' class FakeFSVerifierTest < Test::Unit::TestCase