aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorrspeicher <rspeicher@gmail.com>2010-06-20 16:42:20 -0400
committerrspeicher <rspeicher@gmail.com>2010-06-20 16:42:20 -0400
commit31cadc730a40281950a265ff6982dd76cc326828 (patch)
tree76d82885fef3a45a2b13dac09b66c7e72b5ebf47 /railties
parentcd54e610f4fb1737d61eb737d765491aac58e0fc (diff)
downloadrails-31cadc730a40281950a265ff6982dd76cc326828.tar.gz
rails-31cadc730a40281950a265ff6982dd76cc326828.tar.bz2
rails-31cadc730a40281950a265ff6982dd76cc326828.zip
Generators Guide: Typo of my own
Diffstat (limited to 'railties')
-rw-r--r--railties/guides/source/generators.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/generators.textile b/railties/guides/source/generators.textile
index c5e7980102..f39451f243 100644
--- a/railties/guides/source/generators.textile
+++ b/railties/guides/source/generators.textile
@@ -276,7 +276,7 @@ end
end
</ruby>
-Now, when the helper generator is invoked and TestUnit is configured as the test framekwork, it will try to invoke both +MyHelper::Generators::TestUnitGenerator+ and +TestUnit::Generators::MyHelperGenerator+. Since none of those are defined, we can tell our generator to invoke +TestUnit::Generators::HelperGenerator+ instead, which is defined since it's a Rails generator. To do that, we just need to add:
+Now, when the helper generator is invoked and TestUnit is configured as the test framework, it will try to invoke both +MyHelper::Generators::TestUnitGenerator+ and +TestUnit::Generators::MyHelperGenerator+. Since none of those are defined, we can tell our generator to invoke +TestUnit::Generators::HelperGenerator+ instead, which is defined since it's a Rails generator. To do that, we just need to add:
<ruby>
# Search for :helper instead of :my_helper