From 762e3f05f3d372cb32570db0deeef27232c4dd00 Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Sun, 7 Aug 2016 17:50:59 +0900 Subject: Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty lines --- activesupport/test/core_ext/numeric_ext_test.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'activesupport/test/core_ext/numeric_ext_test.rb') diff --git a/activesupport/test/core_ext/numeric_ext_test.rb b/activesupport/test/core_ext/numeric_ext_test.rb index fc93a18ab1..b99217a1b3 100644 --- a/activesupport/test/core_ext/numeric_ext_test.rb +++ b/activesupport/test/core_ext/numeric_ext_test.rb @@ -176,7 +176,6 @@ class NumericExtFormattingTest < ActiveSupport::TestCase assert_equal("£1234567890,50", 1234567890.50.to_s(:currency, unit: "£", separator: ",", delimiter: "")) end - def test_to_s__rounded assert_equal("-111.235", -111.2346.to_s(:rounded)) assert_equal("111.235", 111.2346.to_s(:rounded)) @@ -222,7 +221,6 @@ class NumericExtFormattingTest < ActiveSupport::TestCase assert_equal "12.345.678,05", 12345678.05.to_s(:delimited, delimiter: ".", separator: ",") end - def test_to_s__rounded_with_custom_delimiter_and_separator assert_equal "31,83", 31.825.to_s(:rounded, precision: 2, separator: ",") assert_equal "1.231,83", 1231.825.to_s(:rounded, precision: 2, separator: ",", delimiter: ".") -- cgit v1.2.3