Created
May 28, 2009 16:24
-
-
Save mifix/119416 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 -v | |
Rails 2.3.2 | |
$ rails demo | |
$ cd demo | |
$ ruby script/generate rspec_scaffold post title:string | |
$ script/plugin install git://github.com/grosser/parallel_specs.git | |
# Add 'test2' to config/database.yml | |
$ ls -1 db/*.sqlite3 | |
db/development.sqlite3 | |
$ rake db:migrate | |
$ rake spec:parallel:prepare\[2\] | |
(in /Users/chris/Work/Workspace/test/demo) | |
Preparing test | |
Preparing test2 | |
$ ls -1 db/*.sqlite3 | |
db/development.sqlite3 | |
# Note: test DBs missing... | |
# edit vendor/plugins/parallel_specs/tasks/parallel_specs.rake:19 | |
# change `RAILS_ENV=#{env} ; rake db:reset` | |
# to `export RAILS_ENV=#{env} ; rake db:reset` | |
$ rake spec:parallel:prepare\[2\] | |
(in /Users/chris/Work/Workspace/test/demo) | |
Preparing test | |
Preparing test2 | |
$ ls -1 db/*.sqlite3 | |
db/development.sqlite3 | |
db/test.sqlite3 | |
db/test2.sqlite3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment