1
0
Fork 0
mirror of https://github.com/pry/pry-rails.git synced 2022-11-09 12:36:03 -05:00

Copy over routes.rb with our own routes.rb

This commit is contained in:
David Peter 2012-07-13 16:20:37 -04:00
parent 3918dff8bd
commit 49cfb3877e
2 changed files with 4 additions and 0 deletions

View file

@ -7,6 +7,7 @@ desc 'Create test Rails app'
task :init_test_app do
`rm -rf test/app >/dev/null 2>&1`
`env BUNDLE_GEMFILE=gemfiles/rails30.gemfile bundle exec rails new test/app`
FileUtils.cp("test/routes.rb", "test/app/config/routes.rb")
end
desc 'Start the Rails server'

3
test/routes.rb Normal file
View file

@ -0,0 +1,3 @@
App::Application.routes.draw do
resource :pokemon, :beer
end