Hi,
Anyone know how to do integration testing with the "Restful
Authentication" plugin?
I''ve been trying this, without luck :
def login_session(user)
open_session do |sess|
sess.extend(CustomDsl)
sess.extend(AuthenticatedTestHelper); #<<my clever idea
sess.login_as(users(user))#<<won''t work
end
end
but predictably it splats on the last line. Various objects aren''t
available to the helper code.
What should I be doing?
thanks
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---