Joe Van Dyk wrote:
Is it possible to have a scenario where you are testing the
interaction between two different session?

i.e.

Given User A clicks this link
Then User B should see this

It used to be possible, but don't know if it still is.

Joe
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Have you tried creating a new webrat session? I haven't looked into it myself, but like you said it was possible. Not much has changed with the underling rails integration session so I imagine that if you just created a new webrat session and used that for user B then you should be fine. (So, you will have to store this second session as an instance var in the other session.. kinda odd but I would try it.) I would be interested to hear if this works, so please report back. BTW, you might get some better answers on the webrat mailing list.

-Ben
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to