From 2d224a6b6765b350ce508257836a04b9f85159cb Mon Sep 17 00:00:00 2001 From: Zachary Scott Date: Mon, 22 Dec 2014 03:23:23 -0800 Subject: We may only look at some of the methods available from TestCase [ci skip] --- 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 3c15f428a2..5eea4b7c38 100644 --- a/guides/source/testing.md +++ b/guides/source/testing.md @@ -181,7 +181,7 @@ By requiring this file, `test_helper.rb` the default configuration to run our te class ArticleTest < ActiveSupport::TestCase ``` -The `ArticleTest` class defines a _test case_ because it inherits from `ActiveSupport::TestCase`. `ArticleTest` thus has all the methods available from `ActiveSupport::TestCase`. You'll see those methods a little later in this guide. +The `ArticleTest` class defines a _test case_ because it inherits from `ActiveSupport::TestCase`. `ArticleTest` thus has all the methods available from `ActiveSupport::TestCase`. Later in this guide, you'll see some of the methods it gives you. Any method defined within a class inherited from `Minitest::Test` (which is the superclass of `ActiveSupport::TestCase`) that begins with `test_` (case sensitive) is simply called a test. So, `test_password` and `test_valid_password` are legal test names and are run automatically when the test case is run. -- cgit v1.2.3