-
-
Save lmiller1990/a023d5db3459b0d517e59f911c4d0224 to your computer and use it in GitHub Desktop.
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 | |
# ... | |
if Rails.env.test? | |
namespace :test do | |
post 'clean_database', to: 'databases#clean_database' | |
post 'seed_posts', to: 'seeds#seed_posts' | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment