rather cosmetic improvements of test coverage

This commit is contained in:
Sven Fuchs
2008-06-23 14:33:29 +02:00
parent 3533dc6812
commit 0dddba41fc
3 changed files with 64 additions and 8 deletions

View File

@@ -70,7 +70,7 @@ module ActionView
# # => 1234567890,50 £
def number_to_currency(number, options = {})
options = options.symbolize_keys
locale = options[:locale]
locale ||= self.locale if respond_to?(:locale)