On Thu, Mar 27, 2008 at 9:35 AM, Ashley Moran <[EMAIL PROTECTED]> wrote: > > > > On 27/03/2008, Ashley Moran <[EMAIL PROTECTED]> wrote: > > I must be doing something stupid, I've got a nearly identical one > immediately below. > > > I lied, it was not identical, but when I nest another one where I have to > specify the controller it warns me. Adding this to the NESTED describe > block fixes it: > controller_name "users" > > Don't know why it gives such a mysterious error instead of "You have to > declare the controller name in controller specs." though. > > Known bug, or in need of a LH ticket? Desirable behaviour would seem to be > that inner blocks inherit the controller.
This is fixed in trunk. Pat _______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
