aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2010-02-25 11:01:15 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2010-02-25 11:01:15 -0800
commitffc45f3e7128f0ef1efca0f39d4717447c15f5b8 (patch)
tree839b3d960caee42d9d8ad08e92f515877d714de4
parent0b87d114bde73cddb9401d061acc1f2f4b3e1dfc (diff)
downloadrails-ffc45f3e7128f0ef1efca0f39d4717447c15f5b8.tar.gz
rails-ffc45f3e7128f0ef1efca0f39d4717447c15f5b8.tar.bz2
rails-ffc45f3e7128f0ef1efca0f39d4717447c15f5b8.zip
Fix dangling klass reference
-rw-r--r--railties/test/generators_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators_test.rb b/railties/test/generators_test.rb
index 844497c8e3..07bc92c55c 100644
--- a/railties/test/generators_test.rb
+++ b/railties/test/generators_test.rb
@@ -155,7 +155,7 @@ class GeneratorsTest < Rails::Generators::TestCase
assert_equal false, NewGenerator.class_options[:generate].default
ensure
- Rails::Generators.subclasses.delete(klass)
+ Rails::Generators.subclasses.delete(NewGenerator)
end
def test_load_generators_from_railties