aboutsummaryrefslogtreecommitdiffstats
path: root/load_paths.rb
diff options
context:
space:
mode:
authorLeandro Facchinetti <git@leafac.com>2014-05-30 07:10:03 -0300
committerLeandro Facchinetti <git@leafac.com>2014-05-30 09:37:41 -0300
commitdcc532d2fbd0f412efd023beab4807d21784b6a6 (patch)
tree761f4e578ea8353b8b36f757e3f7900ba1e40b3b /load_paths.rb
parent6c2b569660c9216595d02ce6412e3bdcc7293317 (diff)
downloadrails-dcc532d2fbd0f412efd023beab4807d21784b6a6.tar.gz
rails-dcc532d2fbd0f412efd023beab4807d21784b6a6.tar.bz2
rails-dcc532d2fbd0f412efd023beab4807d21784b6a6.zip
Update Minitest references in Testing Guide
The Guide references `test/unit`, which has been replaced by `Minitest` in all versions of Ruby supported by Rails. The following updates were performed: * The superclass of `ActiveSupport::TestCase` is no longer `MiniTest::Unit::TestCase`, but `Minitest::Test` [1]. * The preferred spelling is `Minitest`, not `MiniTest` [2]. * For a method to be a test in Minitest, its name must start with `test_`, not only `test` [3]. * Explanations about `test/unit` in Ruby 1.8 were removed in favor of more up-to-date information on `Minitest`. [1]: https://github.com/rails/rails/blob/6c2b569660c9216595d02ce6412e3bdcc7293317/activesupport/lib/active_support/test_case.rb#L18 [2]: https://github.com/seattlerb/minitest/blob/d5d43cef9a3fd4a0eea972dde125ed5ba1ddb821/lib/minitest.rb#L9 [3]: https://github.com/seattlerb/minitest/blob/d5d43cef9a3fd4a0eea972dde125ed5ba1ddb821/lib/minitest/test.rb#L62
Diffstat (limited to 'load_paths.rb')
0 files changed, 0 insertions, 0 deletions