I''m using integration testing, with multiple sessions. For the typical
example, a module extends a session, like here:
http://weblog.jamisbuck.org/2006/3/9/integration-testing-in-rails-1-1
For my testing, I would like to emulate the web interface with ruby
objects. I''d like the test statements to look like
bob.goes_to_login
bob.goes_to_main_page
bob.main_window.click(photos(:photo_of_bob))
bob.main_window.menu.click(menus(:file))
I''m not clear on how I can get the structure above using modules,
methods and classes.
Any help appreciated!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---