📜  rails setup test db - Ruby 代码示例

📅  最后修改于: 2022-03-11 15:04:50.110000             🧑  作者: Mango

代码示例1
bundle exec rake db:drop RAILS_ENV=test
bundle exec rake db:create RAILS_ENV=test
bundle exec rake db:schema:load RAILS_ENV=test
bundle exec rspec spec