diff options
author | Xavier Noria <fxn@hashref.com> | 2018-09-11 23:52:27 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2018-09-11 23:57:25 +0200 |
commit | f589e20b0a865a7efd93e65b2887f0e4ab9a556f (patch) | |
tree | e9b0c87c3ade2befb7a679e0ad6181675971ab61 /railties/lib/rails/generators | |
parent | e9ae7a1514d660fee8cacc6a9aa7524f6f4617e3 (diff) | |
download | rails-f589e20b0a865a7efd93e65b2887f0e4ab9a556f.tar.gz rails-f589e20b0a865a7efd93e65b2887f0e4ab9a556f.tar.bz2 rails-f589e20b0a865a7efd93e65b2887f0e4ab9a556f.zip |
use "minitest" consistently
The name of the minitest library is spelled that way: regular font, and
lowercase. Lowercase is used even at the beginning of sentences, see
http://docs.seattlerb.org/minitest/
I double-checked this with @zenspider too (thanks!).
Diffstat (limited to 'railties/lib/rails/generators')
-rw-r--r-- | railties/lib/rails/generators/rails/plugin/templates/test/test_helper.rb.tt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/rails/plugin/templates/test/test_helper.rb.tt b/railties/lib/rails/generators/rails/plugin/templates/test/test_helper.rb.tt index 755d19ef5d..4f7a8d3d6e 100644 --- a/railties/lib/rails/generators/rails/plugin/templates/test/test_helper.rb.tt +++ b/railties/lib/rails/generators/rails/plugin/templates/test/test_helper.rb.tt @@ -10,8 +10,7 @@ ActiveRecord::Migrator.migrations_paths << File.expand_path('../db/migrate', __d <% end -%> require "rails/test_help" -# Filter out Minitest backtrace while allowing backtrace from other libraries -# to be shown. +# Filter out the backtrace from minitest while preserving the one from other libraries. Minitest.backtrace_filter = Minitest::BacktraceFilter.new <% unless engine? -%> |