Hi John and all,

We 've tweaked ruote-rest a bit, so resources such as /workitems need
user authorization. A lot of logic depends on the current user which
is env['REMOTE_USER'].

I'd like to write some test for this logic... I tried to extend the
tests that come with ruote-rest but I don't exactly know where could I
insert the Basic Authorization header in a request.

I gave a look to 'test/ft_auth.rb' but still don't know how to handle
it. It seems that 'test/testbase.rb' loads the environment for the
tests but I guess it doesn't start a RackBasicAuth app...

Thanks in advance for your help and tips.
Regards.

Gon.


--~--~---------~--~----~------------~-------~--~----~
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to