diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-02-07 21:50:46 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-02-07 21:50:46 +0000 |
commit | 3335bd12c8b3fbfe33ceda4b4f2f33ef023571da (patch) | |
tree | 8e257d33eeaf92629c4c3435cee61347755245cb /activesupport/test | |
parent | fbd7ec3c9f0b1a5327ead66e0ac11b1d1d509f70 (diff) | |
download | rails-3335bd12c8b3fbfe33ceda4b4f2f33ef023571da.tar.gz rails-3335bd12c8b3fbfe33ceda4b4f2f33ef023571da.tar.bz2 rails-3335bd12c8b3fbfe33ceda4b4f2f33ef023571da.zip |
ActiveSupport::Base64.encode64s since Base64 is deprecated
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8817 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/core_ext/base64_ext_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/test/core_ext/base64_ext_test.rb b/activesupport/test/core_ext/base64_ext_test.rb index aafbbd8539..bd0e9f843d 100644 --- a/activesupport/test/core_ext/base64_ext_test.rb +++ b/activesupport/test/core_ext/base64_ext_test.rb @@ -2,7 +2,7 @@ require 'abstract_unit' class Base64Test < Test::Unit::TestCase def test_no_newline_in_encoded_value - assert_match /\n/, Base64.encode64("oneverylongstringthatwouldnormallybesplitupbynewlinesbytheregularbase64") - assert_no_match /\n/, Base64.encode64s("oneverylongstringthatwouldnormallybesplitupbynewlinesbytheregularbase64") + assert_match(/\n/, ActiveSupport::Base64.encode64("oneverylongstringthatwouldnormallybesplitupbynewlinesbytheregularbase64")) + assert_no_match(/\n/, ActiveSupport::Base64.encode64s("oneverylongstringthatwouldnormallybesplitupbynewlinesbytheregularbase64")) end end |