aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/help_controller_spec.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2011-02-23 16:27:41 +0000
committerLouise Crow <louise.crow@gmail.com>2011-02-23 16:27:41 +0000
commit10e8849bd84ba729b286fb47d38a22a37712e5ba (patch)
tree0b95794d50f54eb9d98f3c6648f07319e2aab48e /spec/controllers/help_controller_spec.rb
parent2527d04cc33a5ad05aed33b8fb84b220eae8c2e1 (diff)
Use destroy rather than delete to remove the public body in this xapian test. Now that we're using a sql schema format to populate the test database, it creates foreign keys and so on correctly, so a delete, which tries to delete the object without calling any callbacks, fails with a foreign key error as acts_as_versioned means there are still foreign keys to this record from its versions.
Diffstat (limited to 'spec/controllers/help_controller_spec.rb')
0 files changed, 0 insertions, 0 deletions