* Michal Zugec <[email protected]> [Aug 31. 2009 13:13]: > @@ -13,8 +13,10 @@ class RoutesControllerTest < Test::Unit::TestCase > # to extract routes data from all YaPI map > # > def test_show > - Routes.expects(:find).returns({:routes=>{:default=>'10.20.30.40'}}) > - Routes.find > + # if this code raises, test-unit 2.0.3 and mocha 0.9.5 fail > + # with PASSTHROUGH_EXCEPTIONS. version mismatch?! > + > Route.expects(:find).returns({:routes=>{:default=>{'via'=>'10.20.30.40'}}}) > + Route.find
Can you explain what you're actually trying to test here ? Klaus --- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
