I meant rspec1.x :)
On Fri, Jun 25, 2010 at 6:15 PM, Marcelo de Moraes Serpa <
celose...@gmail.com> wrote:
> I'm still on the Rails 2 era.. so, it worked like a charm with
> response.should be_redirect.
>
> Thanks,
>
> Marcelo.
>
> On Fri, Jun 25, 2010 at 4:33 PM, David Chelimsky wrote:
>
>>
>> O
I'm still on the Rails 2 era.. so, it worked like a charm with
response.should be_redirect.
Thanks,
Marcelo.
On Fri, Jun 25, 2010 at 4:33 PM, David Chelimsky wrote:
>
> On Jun 25, 2010, at 4:00 PM, Marcelo de Moraes Serpa wrote:
>
> On Fri, Jun 25, 2010 at 2:18 PM, David Chelimsky wrote:
>
>> O
On Jun 25, 2010, at 4:00 PM, Marcelo de Moraes Serpa wrote:
> On Fri, Jun 25, 2010 at 2:18 PM, David Chelimsky wrote:
> On Fri, Jun 25, 2010 at 1:56 PM, Marcelo de Moraes Serpa
> wrote:
> > Hello guys,
> >
> > Quick question: How could I just test if a redirect was made, without URL
> > whatsoe
Thanks David! :)
Marcelo.
On Fri, Jun 25, 2010 at 2:18 PM, David Chelimsky wrote:
> On Fri, Jun 25, 2010 at 1:56 PM, Marcelo de Moraes Serpa
> wrote:
> > Hello guys,
> >
> > Quick question: How could I just test if a redirect was made, without URL
> > whatsoever?
>
> In rspec-1/rails-2:
>
> res
On Fri, Jun 25, 2010 at 1:56 PM, Marcelo de Moraes Serpa
wrote:
> Hello guys,
>
> Quick question: How could I just test if a redirect was made, without URL
> whatsoever?
In rspec-1/rails-2:
response.should be_redirect
This is not in rspec-rails-2 yet, so you can just go with the rails
assertion