Skip to content

Instantly share code, notes, and snippets.

@kermit-klein
Last active July 30, 2020 16:26
Show Gist options
  • Save kermit-klein/8616280eb05ae13a3e89bced7f16faff to your computer and use it in GitHub Desktop.
Save kermit-klein/8616280eb05ae13a3e89bced7f16faff to your computer and use it in GitHub Desktop.
cypress_routes
Rails.application.routes.draw do
resources :places
if Rails.env.test?
namespace :test do
post 'reset_database', to: 'databases#reset_database'
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment