aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-12-11 00:22:51 +0100
committerXavier Noria <fxn@hashref.com>2010-12-11 00:22:51 +0100
commitc8baefbca369be2c7ed85264809b52f3b40a0770 (patch)
treecd765a78db4333ec2e8942f954d902df5db124da /railties
parentf0580bd84c33479edce9081dfc53d1fcf6d879a1 (diff)
downloadrails-c8baefbca369be2c7ed85264809b52f3b40a0770.tar.gz
rails-c8baefbca369be2c7ed85264809b52f3b40a0770.tar.bz2
rails-c8baefbca369be2c7ed85264809b52f3b40a0770.zip
spaces with underscores, I mean
Diffstat (limited to 'railties')
-rw-r--r--railties/guides/source/testing.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/testing.textile b/railties/guides/source/testing.textile
index d7088dc04c..733c8a755e 100644
--- a/railties/guides/source/testing.textile
+++ b/railties/guides/source/testing.textile
@@ -202,7 +202,7 @@ end
only the +test+ macro allows a more readable test name. You can still use regular method definitions though.
-NOTE: The method name is generated by replacing underscores with spaces. The result does not need to be a valid Ruby identifier though, the name may contain punctuation characters etc. That's because in Ruby technically any string may be a method name. Odd ones need +define_method+ and +send+ calls, but formally there's no restriction.
+NOTE: The method name is generated by replacing spaces with underscores. The result does not need to be a valid Ruby identifier though, the name may contain punctuation characters etc. That's because in Ruby technically any string may be a method name. Odd ones need +define_method+ and +send+ calls, but formally there's no restriction.
<ruby>
assert true