Thanks, that was exactly what I needed.
I tried something along the lines of
Authorization.stub!(:filter_access_to).and_return(true)
but it didn't work.
On Nov 18, 7:55 pm, Jeremy Durham <
jeremydur...@gmail.com> wrote:
> Hi Ray,
>
> Not sure if you're trying to turn off declarative auth rules in your specs,
> but you can do that with:
>
> Authorization.ignore_access_control(true)
>
> Hope that helps,
> Jeremy
>
> On Wed, Nov 18, 2009 at 1:04 PM, Rainer Kuhn <
ticktricktr...@gmail.com>wrote:
>
> > I'm struggling a getting this to work with rspec. Is there a way to
> > disable filtering entirely, since I test that rather with cucumber and
> > not with rspec?
>
> > Thx
> > Ray
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "declarative_authorization" group.
> > To post to this group, send email to
> >
declarative_...@googlegroups.com.
> > To unsubscribe from this group, send email to
> >
declarative_author...@googlegroups.com<
declarative_authorization%2Bunsu...@googlegroups.com>
> > .