diff options
author | Louise Crow <louise.crow@gmail.com> | 2011-02-23 16:27:41 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2011-02-23 16:27:41 +0000 |
commit | 10e8849bd84ba729b286fb47d38a22a37712e5ba (patch) | |
tree | 0b95794d50f54eb9d98f3c6648f07319e2aab48e /spec/controllers/help_controller_spec.rb | |
parent | 2527d04cc33a5ad05aed33b8fb84b220eae8c2e1 (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