aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/hash_ext_test.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2008-11-22 15:19:19 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2008-11-22 19:19:12 -0800
commitf927a60d0fa33f3e0fc3c0c891ae7657a227707f (patch)
tree3a9541a4d16e0ba6a8d1afeee03f26e57a09044e /activesupport/test/core_ext/hash_ext_test.rb
parent708f4c3ae6a41a46ab36a05ea4e126392b81511b (diff)
downloadrails-f927a60d0fa33f3e0fc3c0c891ae7657a227707f.tar.gz
rails-f927a60d0fa33f3e0fc3c0c891ae7657a227707f.tar.bz2
rails-f927a60d0fa33f3e0fc3c0c891ae7657a227707f.zip
Require mocha >= 0.9.0 for AS tests
Diffstat (limited to 'activesupport/test/core_ext/hash_ext_test.rb')
-rw-r--r--activesupport/test/core_ext/hash_ext_test.rb10
1 files changed, 4 insertions, 6 deletions
diff --git a/activesupport/test/core_ext/hash_ext_test.rb b/activesupport/test/core_ext/hash_ext_test.rb
index 9537f486cb..1e5cd25527 100644
--- a/activesupport/test/core_ext/hash_ext_test.rb
+++ b/activesupport/test/core_ext/hash_ext_test.rb
@@ -358,12 +358,10 @@ class HashExtTest < Test::Unit::TestCase
assert_nothing_raised { original.except(:a) }
end
- uses_mocha 'except with expectation' do
- def test_except_with_mocha_expectation_on_original
- original = { :a => 'x', :b => 'y' }
- original.expects(:delete).never
- original.except(:a)
- end
+ def test_except_with_mocha_expectation_on_original
+ original = { :a => 'x', :b => 'y' }
+ original.expects(:delete).never
+ original.except(:a)
end
end