aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2012-01-06 14:04:09 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2012-01-06 15:50:47 -0800
commita58fb105e73837dd9b20a4f2f78ec45d49db4442 (patch)
treeebdeaf4685ed85d6a24bbabf16a3f74b96518602 /activesupport
parent9342492e1445c47b02db392ba8430ecb9218fc47 (diff)
downloadrails-a58fb105e73837dd9b20a4f2f78ec45d49db4442.tar.gz
rails-a58fb105e73837dd9b20a4f2f78ec45d49db4442.tar.bz2
rails-a58fb105e73837dd9b20a4f2f78ec45d49db4442.zip
backport assert_not_same
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/test_case.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/test_case.rb b/activesupport/lib/active_support/test_case.rb
index 4bb4cd196e..bfe73de516 100644
--- a/activesupport/lib/active_support/test_case.rb
+++ b/activesupport/lib/active_support/test_case.rb
@@ -36,6 +36,7 @@ module ActiveSupport
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