This question is a continuation of this other question: Rails 3, locking tables on an auction-type engine
I implemented the solution using Pessimistic Locking directly on Rails 3. Now I want to write some tests that run my code. I do not know how to test concurrency problems on Rails. Any hint or gem?
The particular piece of code is very critical, and I want to make sure that it is well tested.
source share