From a58fb105e73837dd9b20a4f2f78ec45d49db4442 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Fri, 6 Jan 2012 14:04:09 -0800 Subject: [PATCH] backport assert_not_same --- activesupport/lib/active_support/test_case.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/activesupport/lib/active_support/test_case.rb b/activesupport/lib/active_support/test_case.rb index 4bb4cd196e537..bfe73de5167ed 100644 --- a/activesupport/lib/active_support/test_case.rb +++ b/activesupport/lib/active_support/test_case.rb @@ -36,6 +36,7 @@ def self.test_order # :nodoc: alias :assert_not_nil :refute_nil alias :assert_not_equal :refute_equal alias :assert_no_match :refute_match + alias :assert_not_same :refute_same def assert_nothing_raised(*args) yield