Joe Van Dyk wrote:
> Is it possible to have a scenario where you are testing the
> interaction between two different session?
Not sure if this is exactly what you need, but I found this technique to
be very handy:
http://erikonrails.snowedin.net/?p=159
It involves mixing in a method to Actio
On 28-feb-2009, at 21:04, Joe Van Dyk wrote:
Is it possible to have a scenario where you are testing the
interaction between two different session?
If you mean something along these lines:
User A uploads a picture,
User B logs in to see the picture uploaded by User A
that is possible.
I us
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
___
r
On Sun, Mar 1, 2009 at 8:04 PM, Joe Van Dyk wrote:
> So you're saying no? :D
It is possible, you simply have to logout from UserA and log in as
UserB. Also, although it's not exposed with webrat IIRC it is possible
to have selenium run to separate browsers at the same time. You could
theoretical
So you're saying no? :D
On Sat, Feb 28, 2009 at 5:17 PM, BJ Clark wrote:
> 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
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,
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 li