From e36d79fbde5fabc3dba892b10cd42e50a7be8f61 Mon Sep 17 00:00:00 2001 From: Zachary Scott Date: Mon, 22 Dec 2014 03:25:18 -0800 Subject: Removed run-on sentence and replace with sectional comments [ci skip] --- guides/source/testing.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'guides') 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. -- cgit v1.2.3