aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/admin_request_controller_spec.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-09-17 17:04:27 +0100
committerLouise Crow <louise.crow@gmail.com>2013-09-17 17:04:37 +0100
commit09d6cc3313b9ec1f495ff09c74fe91e1b667f8b9 (patch)
tree713e2b7695776dd2679bf1a8ac74753a137520db /spec/controllers/admin_request_controller_spec.rb
parent96b5229241f09f7d35c306d457f36ab2ffdad3b5 (diff)
Add a failing spec for handling a race condition
The spec uses a hook method to simulate the insertion of an acts_as_xapian_job in another process for the model. Credit to: http://stackoverflow.com/questions/2017587/simulating-race-conditions-in-rspec-unit-tests Conflicts: vendor/plugins/acts_as_xapian/lib/acts_as_xapian.rb
Diffstat (limited to 'spec/controllers/admin_request_controller_spec.rb')
0 files changed, 0 insertions, 0 deletions