From f2852298a1be4d8881dcdae3a79eb68346d9679b Mon Sep 17 00:00:00 2001 From: Zachary Scott Date: Mon, 22 Dec 2014 03:25:40 -0800 Subject: Fix NOTE for method naming in Ruby and add intro sentence to next section. [ci skip] --- guides/source/testing.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'guides/source/testing.md') diff --git a/guides/source/testing.md b/guides/source/testing.md index 381eb3e689..7d3da22597 100644 --- a/guides/source/testing.md +++ b/guides/source/testing.md @@ -204,7 +204,9 @@ end 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. +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. + +Next, let's look at our first assertion: ```ruby assert true -- cgit v1.2.3