Commit 2ccaeaa81d82cd3fe2f743a9fdc9a1e5c7fdd087

Authored by AntonioTerceiro
1 parent 7bd2ea56

r232@sede: terceiro | 2007-07-28 17:23:38 -0300

ActionItem0: minor addition to be safe
 


git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@236 3f533792-8f58-4932-b0fe-aaf55b0a4547
vendor/plugins/design/test/proxy_design_holder_test.rb
... ... @@ -30,6 +30,10 @@ class ProxyDesignHolderTest < Test::Unit::TestCase
30 30 end
31 31  
32 32 def test_should_not_proxy_unrelated_method_calls
  33 + # to be safe
  34 + assert_nothing_raised do
  35 + 1.succ
  36 + end
33 37 assert_raise NoMethodError do
34 38 design = Design::ProxyDesignHolder.new(1)
35 39 design.succ
... ...