David, thanks for your detailed help! Appreciated. - Pito
On Tue, Mar 5, 2013 at 11:20 PM, David Chelimsky <[email protected]>wrote: > On Tue, Mar 5, 2013 at 5:40 PM, Pito Salas <[email protected]> wrote: > > I'm not sure why this is not working as expected: > https://gist.github.com/pitosalas/5352c7cdc3a1efd425cc > > > > Note the error messages that say that the mocked methods were not called > at all. > > Not quite. The setup has 3 message expectations (one on each double), > but only one of the three doubles gets `has_role?` in each example. > > More detailed comments on the gist. > > HTH, > David > > > I think I got it all right. Does anyone see the problem? > > > > Thanks! > > > > Pito > > > > > > -- > > You received this message because you are subscribed to the Google > Groups "rspec" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > > To post to this group, send email to [email protected]. > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > -- > You received this message because you are subscribed to the Google Groups > "rspec" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Check out http://www.salas.com and http://www.blogbridge.com/look -- You received this message because you are subscribed to the Google Groups "rspec" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
