[Rails] Re: Functional testing and HTTP authentication
Peter Hultgren wrote in post #949752:
> Hi,
>
> If I want my functional tests
(which you should replace with Cucumber scenarios)
> to bypass the built in Rails HTTP
> authentication, how would I do that?
Why do you want to do that? What are you trying to achieve?
>
> Would I use something like FlexMock to stub out the :before_filter for
> my controller? Could someone please provide an example, because I'm
> not really understanding the basics for this scenario.
It's hard to understand your use case, and without your ultimate goal,
it's very difficult to give useful suggestions.
>
> Cheers,
> Peter
Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen@marnen.org
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home