On 10 Jul 2007, at 13:16, David Chelimsky wrote: > This is pretty standard in mocking frameworks. In fact, your > frustration was Jim Weirich's motivation for writing Flexmock, so you > may want to give that framework a shot.
<snip> > This tells the Date class object to ignore all extract_from_rails_hash > messages except the one that you are interested in in th example. Thanks for clearing that up. I might take a look at FlexMock some time and see how it compares. I don't run into this problem often so it was more of a philosophical question but nice to know there's at least a workaround. Regards Ashley _______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
