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@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to