Instiki 0.16.5
Update to Rails 2.3.2 (the stable Rails 2.3 release). Add audio/speex support Update CHANGELOG Bump version number
This commit is contained in:
parent
801d307405
commit
e2ccdfd812
264 changed files with 4850 additions and 1906 deletions
|
@ -4,6 +4,7 @@ class NumberHelperTest < ActionView::TestCase
|
|||
tests ActionView::Helpers::NumberHelper
|
||||
|
||||
def test_number_to_phone
|
||||
assert_equal("555-1234", number_to_phone(5551234))
|
||||
assert_equal("800-555-1212", number_to_phone(8005551212))
|
||||
assert_equal("(800) 555-1212", number_to_phone(8005551212, {:area_code => true}))
|
||||
assert_equal("800 555 1212", number_to_phone(8005551212, {:delimiter => " "}))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue