On 8/15/07, Courtenay <[EMAIL PROTECTED]> wrote:
> On 8/15/07, Priit Tamboom <[EMAIL PROTECTED]> wrote:

> > describe ApplicationController do
> >    it "method login_required should redirect to home path without login" do
>
> heh.  "it" is so out of place here :)

I agree. The goal is to describe behaviours of objects, not methods.
So, I'd write:

it "should redirect anonymous user to home path"

Cheers,
David
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to