From 8b4729a0eb2020cc5f7ed93951e97335bd3d2700 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20L=C3=BCtke?= Date: Wed, 8 Mar 2006 16:13:13 +0000 Subject: reverted #to_sentence to use red, green, and blue style git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3816 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activesupport/test/core_ext/array_ext_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activesupport/test') diff --git a/activesupport/test/core_ext/array_ext_test.rb b/activesupport/test/core_ext/array_ext_test.rb index e13c57d262..956c10665d 100644 --- a/activesupport/test/core_ext/array_ext_test.rb +++ b/activesupport/test/core_ext/array_ext_test.rb @@ -18,12 +18,12 @@ class ArrayExtConversionTests < Test::Unit::TestCase assert_equal "", [].to_sentence assert_equal "one", ['one'].to_sentence assert_equal "one and two", ['one', 'two'].to_sentence - assert_equal "one, two and three", ['one', 'two', 'three'].to_sentence + assert_equal "one, two, and three", ['one', 'two', 'three'].to_sentence end def test_to_sentence_with_connector - assert_equal "one, two and also three", ['one', 'two', 'three'].to_sentence(:connector => 'and also') + assert_equal "one, two, and also three", ['one', 'two', 'three'].to_sentence(:connector => 'and also') end def test_to_sentence_with_skip_last_comma -- cgit v1.2.3