aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
diff options
context:
space:
mode:
authorYehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>2009-07-01 15:20:02 -0700
committerYehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>2009-07-01 15:20:02 -0700
commit1a6f4d424a934f5f2d2fb13b3541566719c2d9a4 (patch)
tree9aebc6663fa7b1f9291db53895973cfa93525811 /activesupport/test
parent3990c128ef371d12be1809ac20a5ed6e94b9cb77 (diff)
downloadrails-1a6f4d424a934f5f2d2fb13b3541566719c2d9a4.tar.gz
rails-1a6f4d424a934f5f2d2fb13b3541566719c2d9a4.tar.bz2
rails-1a6f4d424a934f5f2d2fb13b3541566719c2d9a4.zip
Apparently stdlib isn't std enough
Diffstat (limited to 'activesupport/test')
-rw-r--r--activesupport/test/isolation_test.rb10
1 files changed, 6 insertions, 4 deletions
diff --git a/activesupport/test/isolation_test.rb b/activesupport/test/isolation_test.rb
index eadda3276d..b844bbb673 100644
--- a/activesupport/test/isolation_test.rb
+++ b/activesupport/test/isolation_test.rb
@@ -50,13 +50,15 @@ if ENV['CHILD']
end
test "resets requires one" do
- assert !defined?(Curses)
- require 'curses'
+ assert !defined?(OmgOmg)
+ assert_equal 0, $LOADED_FEATURES.grep(/fixtures\/omgomg/).size
+ require File.expand_path(File.join(File.dirname(__FILE__), "fixtures", "omgomg"))
end
test "resets requires two" do
- assert !defined?(Curses)
- require 'curses'
+ assert !defined?(OmgOmg)
+ assert_equal 0, $LOADED_FEATURES.grep(/fixtures\/omgomg/).size
+ require File.expand_path(File.join(File.dirname(__FILE__), "fixtures", "omgomg"))
end
end
else