[rspec-users] controller.expect_render has me beat!

Luis Lavena luislavena at gmail.com
Sat Sep 15 01:55:11 EDT 2007


On 9/15/07, s.ross <cwdinfo at gmail.com> wrote:
> Look at your test.log and you can see exactly what was rendered. That should
> explain why the example is failing. This works best if you can silence the
> logs for all examples other than the one you are testing.
>

Better if you run just that example:

spec spec\controllers\my_controller_spec.rb -e "My failing example name"

-- 
Luis Lavena
Multimedia systems
-
Leaders are made, they are not born. They are made by hard effort,
which is the price which all of us must pay to achieve any goal that
is worthwhile.
Vince Lombardi


More information about the rspec-users mailing list