Last active
July 30, 2020 16:26
-
-
Save kermit-klein/8616280eb05ae13a3e89bced7f16faff to your computer and use it in GitHub Desktop.
cypress_routes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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