aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/admin_incoming_message_controller_spec.rb
diff options
context:
space:
mode:
authorMark Longair <mhl@pobox.com>2013-10-07 12:31:51 +0100
committerMark Longair <mhl@pobox.com>2013-10-07 12:31:51 +0100
commit4d648e3e39c9ff0d721f1bf06266893a39c9b118 (patch)
treea6df3731c8ecdee2f3f4c7e467ca51d2094dc003 /spec/controllers/admin_incoming_message_controller_spec.rb
parent86f1fde1c2ace3e67185368033b3328ad8be83c2 (diff)
Factor out a 'with_duplicate_xapian_job_creation' helper
In a subsequent commit, we will want to wrap an additional section of code with the addition and removal of a hook that creates a duplicate xapian job, so it's useful for this to be factored out. This commit introduces a 'with_duplicate_xapian_job_creation' method that can be passed a block which will be run with the forced duplicate xapian job creation.
Diffstat (limited to 'spec/controllers/admin_incoming_message_controller_spec.rb')
0 files changed, 0 insertions, 0 deletions