[rspec-users] Shared behavior and_raise problem, and site aestetics
aslak hellesoy
aslak.hellesoy at gmail.com
Thu May 10 16:35:22 EDT 2007
On 5/10/07, Chris Hoffman <chris.c.hoffman at gmail.com> wrote:
> Hello,
> Is anyone else having trouble with the and_raise method on mocks,
> with respect to shared behaviors? If I do the following instead:
>
> foo.should_receive(:bar).and_return { raise }
>
> everything seems to work. I have been supplying no arguments to
> and_raise, by the way.
>
please supply an example that illustrates your case. one that we can execute.
> Also, you may want to make the background in the code examples on the
> home page a little lighter. I am hardly able to read the
> darker-colored bits.
>
what colour (hexcode) would be better?
aslak
> Thanks.
>
> -Chris
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>
More information about the rspec-users
mailing list