aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/template/number_helper_test.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-12-14 17:30:54 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-12-14 17:30:54 +0900
commit245c1dafa8bab409fbcd780a996c619240df7143 (patch)
tree9870d3018fcc16f9d78e76cb40c0a1af4ab4ca55 /actionview/test/template/number_helper_test.rb
parent65e994c063fdc42265712854598649ec7607faec (diff)
downloadrails-245c1dafa8bab409fbcd780a996c619240df7143.tar.gz
rails-245c1dafa8bab409fbcd780a996c619240df7143.tar.bz2
rails-245c1dafa8bab409fbcd780a996c619240df7143.zip
Enable `Layout/LeadingCommentSpace` to not allow cosmetic changes in the future
Follow up of #31432.
Diffstat (limited to 'actionview/test/template/number_helper_test.rb')
-rw-r--r--actionview/test/template/number_helper_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/test/template/number_helper_test.rb b/actionview/test/template/number_helper_test.rb
index 2b671a6685..e92bf66203 100644
--- a/actionview/test/template/number_helper_test.rb
+++ b/actionview/test/template/number_helper_test.rb
@@ -79,7 +79,7 @@ class NumberHelperTest < ActionView::TestCase
assert_equal "1.23 &lt;b&gt;km3&lt;/b&gt;", number_to_human(1_234_567_000_000, units: volume)
assert_equal "1.23 &lt;b&gt;Pl&lt;/b&gt;", number_to_human(1_234_567_000_000_000, units: volume)
- #Including fractionals
+ # Including fractionals
distance = { mili: "<b>mm</b>", centi: "<b>cm</b>", deci: "<b>dm</b>", unit: "<b>m</b>",
ten: "<b>dam</b>", hundred: "<b>hm</b>", thousand: "<b>km</b>",
micro: "<b>um</b>", nano: "<b>nm</b>", pico: "<b>pm</b>", femto: "<b>fm</b>" }