The full suite of hobo tests are in https://github.com/Hobo/hte2. However, we tend to use system tests rather than functional tests, so it won't be too helpful. There are examples of webrat tests in hobo-test and agility, and selenium tests in agility.

Bryan


On 11-01-16 09:39 PM, François Beausoleil wrote:
Hi all,

I'm trying to find out how to authenticate in functional tests. I
can't find any information:

* Agility Tutorial Functional tests are empty -
https://github.com/tablatom/agility/tree/master/test/functional
* Found "Full Stack Testing a HOBO Application" at
http://conceptspace.wikidot.com/blog:all-about-testing-hobo-organizations-revisited
which has great content, unfortunately, the #login_as helper method
doesn't exist

I also found a reference to #log_in, and simply setting session[:user]
- none of these have any effect...

Any pointers greatly appreciated!
François


--
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to