Skip to content
Browse files

Apparently stdlib isn't std enough

  • Loading branch information...
1 parent 3990c12 commit 1a6f4d424a934f5f2d2fb13b3541566719c2d9a4 Yehuda Katz + Carl Lerche committed Jul 1, 2009
Showing with 6 additions and 4 deletions.
  1. +6 −4 activesupport/test/isolation_test.rb
View
10 activesupport/test/isolation_test.rb
@@ -50,13 +50,15 @@ def teardown
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

0 comments on commit 1a6f4d4

Please sign in to comment.
Something went wrong with that request. Please try again.