From dcc9bd35e248f9e038c0fbc6a2024cd2d5228cbc Mon Sep 17 00:00:00 2001 From: James Baer Date: Fri, 10 Mar 2017 12:33:21 -0500 Subject: Improve readability of testing guide [ci skip] Small change to improve the readability in section 2.3 of the testing guide. --- guides/source/testing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source/testing.md') diff --git a/guides/source/testing.md b/guides/source/testing.md index 4caf55ab12..27f5b5e916 100644 --- a/guides/source/testing.md +++ b/guides/source/testing.md @@ -123,7 +123,7 @@ def test_the_truth end ``` -However only the `test` macro allows a more readable test name. You can still use regular method definitions though. +Although you can still use regular method definitions, using the `test` macro allows for a more readable test name. 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. This may require use of `define_method` and `send` calls to function properly, but formally there's little restriction on the name. -- cgit v1.2.3