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:
parent
3918dff8bd
commit
49cfb3877e
2 changed files with 4 additions and 0 deletions
1
Rakefile
1
Rakefile
|
@ -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
3
test/routes.rb
Normal file
|
@ -0,0 +1,3 @@
|
|||
App::Application.routes.draw do
|
||||
resource :pokemon, :beer
|
||||
end
|
Loading…
Add table
Reference in a new issue