diff options
author | Xavier Noria <fxn@hashref.com> | 2010-12-11 00:22:51 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-12-11 00:22:51 +0100 |
commit | c8baefbca369be2c7ed85264809b52f3b40a0770 (patch) | |
tree | cd765a78db4333ec2e8942f954d902df5db124da | |
parent | f0580bd84c33479edce9081dfc53d1fcf6d879a1 (diff) | |
download | rails-c8baefbca369be2c7ed85264809b52f3b40a0770.tar.gz rails-c8baefbca369be2c7ed85264809b52f3b40a0770.tar.bz2 rails-c8baefbca369be2c7ed85264809b52f3b40a0770.zip |
spaces with underscores, I mean
-rw-r--r-- | railties/guides/source/testing.textile | 2 |
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 |