Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix dangling klass reference

  • Loading branch information...
commit ffc45f3e7128f0ef1efca0f39d4717447c15f5b8 1 parent 0b87d11
@jeremy jeremy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/test/generators_test.rb
View
2  railties/test/generators_test.rb
@@ -155,7 +155,7 @@ class NewGenerator < Rails::Generators::Base
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
Please sign in to comment.
Something went wrong with that request. Please try again.