RSpec: More reliable database cleanup in feature tests that use JavaScript.