diff options
author | Zachary Scott <e@zzak.io> | 2014-12-22 03:25:18 -0800 |
---|---|---|
committer | Zachary Scott <e@zzak.io> | 2014-12-22 03:25:18 -0800 |
commit | e36d79fbde5fabc3dba892b10cd42e50a7be8f61 (patch) | |
tree | 8640cbc0d532867b8e419eaf9644796138aad583 /guides/source | |
parent | 0145cc6e504f1c87eddc8aef5a6c6d0aca806594 (diff) | |
download | rails-e36d79fbde5fabc3dba892b10cd42e50a7be8f61.tar.gz rails-e36d79fbde5fabc3dba892b10cd42e50a7be8f61.tar.bz2 rails-e36d79fbde5fabc3dba892b10cd42e50a7be8f61.zip |
Removed run-on sentence and replace with sectional comments [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/testing.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/testing.md b/guides/source/testing.md index 494a8b0e44..381eb3e689 100644 --- a/guides/source/testing.md +++ b/guides/source/testing.md @@ -194,7 +194,7 @@ test "the truth" do end ``` -acts as if you had written +Which is approximately the same as writing this: ```ruby def test_the_truth @@ -202,7 +202,7 @@ def test_the_truth end ``` -only the `test` macro allows a more readable test name. You can still use regular method definitions though. +However 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 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. |