aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/array_ext_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/test/core_ext/array_ext_test.rb')
-rw-r--r--activesupport/test/core_ext/array_ext_test.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/activesupport/test/core_ext/array_ext_test.rb b/activesupport/test/core_ext/array_ext_test.rb
index 159dc2a478..b07fd9854f 100644
--- a/activesupport/test/core_ext/array_ext_test.rb
+++ b/activesupport/test/core_ext/array_ext_test.rb
@@ -33,4 +33,8 @@ class ArrayExtConversionTests < Test::Unit::TestCase
def test_one_element
assert_equal "one", ['one'].to_sentence
end
+
+ def test_to_strings
+ assert_equal %w(one two three), [:one, :two, :three].to_strings
+ end
end