[rspec-users] testing multiple sessions in cucumber/webrat

BJ Clark bj at aboutus.org
Sat Feb 28 20:17:47 EST 2009


Joe,I would test this in 2 steps.
I'd first test that whatever state change (or whatever happens when you User
A clicks the link) takes place.
Then in another test, I'd check that, given a certain state (or again,
whatever is supposed to happen), then User B sees whatever.

HTH,
BJ Clark


On Sat, Feb 28, 2009 at 12:04 PM, Joe Van Dyk <joe at pinkpucker.net> 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 at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20090228/46f6a030/attachment.html>


More information about the rspec-users mailing list