aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-02-24 15:12:13 -0800
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-02-24 15:12:13 -0800
commite9d659224bb6610d726bd333a9425b4f8f5796ba (patch)
tree53896b07fb022135d19377a7f2f38aaf22ef4fcc /activesupport/test
parent2647a3cabfb88ac0dac318207bf611b0b66d495f (diff)
parent2a12a04a54590d3a5f2abf4cd4eff3a7b1ee6ef4 (diff)
downloadrails-e9d659224bb6610d726bd333a9425b4f8f5796ba.tar.gz
rails-e9d659224bb6610d726bd333a9425b4f8f5796ba.tar.bz2
rails-e9d659224bb6610d726bd333a9425b4f8f5796ba.zip
Merge pull request #9406 from rails/3-2-stable-ruby-2
Rails 3.2.x is now compatible with Ruby 2.0.0
Diffstat (limited to 'activesupport/test')
-rw-r--r--activesupport/test/caching_test.rb1
-rw-r--r--activesupport/test/ordered_hash_test.rb1
-rw-r--r--activesupport/test/test_case_test.rb3
3 files changed, 3 insertions, 2 deletions
diff --git a/activesupport/test/caching_test.rb b/activesupport/test/caching_test.rb
index c4c753caed..6db1746672 100644
--- a/activesupport/test/caching_test.rb
+++ b/activesupport/test/caching_test.rb
@@ -690,7 +690,6 @@ uses_memcached 'memcached backed store' do
@data = @cache.instance_variable_get(:@data)
@cache.clear
@cache.silence!
- @cache.logger = Logger.new("/dev/null")
end
include CacheStoreBehavior
diff --git a/activesupport/test/ordered_hash_test.rb b/activesupport/test/ordered_hash_test.rb
index 0b5f912dc4..a7fd9402c8 100644
--- a/activesupport/test/ordered_hash_test.rb
+++ b/activesupport/test/ordered_hash_test.rb
@@ -221,7 +221,6 @@ class OrderedHashTest < Test::Unit::TestCase
alternate = ActiveSupport::OrderedHash[ [
[1, 2],
[3, 4],
- "bad key value pair",
[ 'missing value' ]
]]
diff --git a/activesupport/test/test_case_test.rb b/activesupport/test/test_case_test.rb
index c4653b1ae6..ab74d579fc 100644
--- a/activesupport/test/test_case_test.rb
+++ b/activesupport/test/test_case_test.rb
@@ -16,6 +16,9 @@ module ActiveSupport
def options
nil
end
+
+ def record(*args)
+ end
end
if defined?(MiniTest::Assertions) && TestCase < MiniTest::Assertions