Class: Testapi::DatabasesController

Inherits:
ApplicationController show all
Defined in:
app/controllers/testapi/databases_controller.rb

Instance Method Summary collapse

Instance Method Details

#destroyObject



2
3
4
5
# File 'app/controllers/testapi/databases_controller.rb', line 2

def destroy
  DatabaseCleaner.clean_with(:truncation, except: Testapi.database_cleaner_ignored_tables)
  render_json
end