aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/numeric_ext_test.rb
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2013-05-26 16:27:05 +0530
committerVipul A M <vipulnsward@gmail.com>2013-05-26 16:27:05 +0530
commitd745d62616bb2b309c0a805387dae2d4e1814d3f (patch)
treedb2fad616c3e82265f33a181b1147a7a586f776c /activesupport/test/core_ext/numeric_ext_test.rb
parent432ffdb0739426122e216e0f7199ebc16f15de7e (diff)
downloadrails-d745d62616bb2b309c0a805387dae2d4e1814d3f.tar.gz
rails-d745d62616bb2b309c0a805387dae2d4e1814d3f.tar.bz2
rails-d745d62616bb2b309c0a805387dae2d4e1814d3f.zip
Fix some typo in method names, variables
Diffstat (limited to 'activesupport/test/core_ext/numeric_ext_test.rb')
-rw-r--r--activesupport/test/core_ext/numeric_ext_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/numeric_ext_test.rb b/activesupport/test/core_ext/numeric_ext_test.rb
index f22ae3ccac..1da72eb17d 100644
--- a/activesupport/test/core_ext/numeric_ext_test.rb
+++ b/activesupport/test/core_ext/numeric_ext_test.rb
@@ -77,7 +77,7 @@ class NumericExtTimeAndDateTimeTest < ActiveSupport::TestCase
assert_equal @dtnow.advance(:days => 1).advance(:months => 2), @dtnow + 1.day + 2.months
end
- def test_duration_after_convertion_is_no_longer_accurate
+ def test_duration_after_conversion_is_no_longer_accurate
assert_equal 30.days.to_i.since(@now), 1.month.to_i.since(@now)
assert_equal 365.25.days.to_f.since(@now), 1.year.to_f.since(@now)
assert_equal 30.days.to_i.since(@dtnow), 1.month.to_i.since(@dtnow)