Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

rails setup test db

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
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #rails #setup #test #db
ADD COMMENT
Topic
Name
3+8 =