aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport')
-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