aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2016-01-29 19:50:50 +1030
committerMatthew Draper <matthew@trebex.net>2016-01-29 19:50:50 +1030
commit5bc33e8a2cd3340a6c4e0687e514d82f1b5ea472 (patch)
tree9dfb54054c5538919ac856ee4c974438873b7a3d
parent43df26711856bc4b90780a185078fc84fa597564 (diff)
parent1b46a1158c221c3910f80f183f6591f14e68c236 (diff)
downloadrails-5bc33e8a2cd3340a6c4e0687e514d82f1b5ea472.tar.gz
rails-5bc33e8a2cd3340a6c4e0687e514d82f1b5ea472.tar.bz2
rails-5bc33e8a2cd3340a6c4e0687e514d82f1b5ea472.zip
Merge pull request #23330 from prathamesh-sonpatki/fix-tests
Fix broken number_to_currency conversion tests
-rw-r--r--activesupport/lib/active_support/number_helper/number_to_currency_converter.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/number_helper/number_to_currency_converter.rb b/activesupport/lib/active_support/number_helper/number_to_currency_converter.rb
index fe8e871fed..57f40f33bf 100644
--- a/activesupport/lib/active_support/number_helper/number_to_currency_converter.rb
+++ b/activesupport/lib/active_support/number_helper/number_to_currency_converter.rb
@@ -1,3 +1,5 @@
+require 'active_support/core_ext/numeric/inquiry'
+
module ActiveSupport
module NumberHelper
class NumberToCurrencyConverter < NumberConverter # :nodoc: