aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL.md
diff options
context:
space:
mode:
authorRobert2017-04-20 17:09:19 +0200
committerRobert2017-04-20 17:09:19 +0200
commitd8172e2e36d874b72e2784bb92f273fe8457741e (patch)
tree2cfac91f649dd594fffe0f386ec7e83751abba4e /INSTALL.md
parentb767e3c006e9eeee22e2de939605203d8cb99f32 (diff)
downloadchouette-core-d8172e2e36d874b72e2784bb92f273fe8457741e.tar.bz2
INSTALL.md use existing task for correct test db setup (concerning hstore extension)
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md8
1 files changed, 3 insertions, 5 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 8586803dd..7bfcb7074 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -74,9 +74,7 @@ on your [profile page](http://stif-portail-dev.af83.priv/users/edit)
# Troubleshouting
If PG complains about illegal type `hstore` in your tests that is probably because the shared extension is not installed, here is waht to do:
+
+ bundle exec rake db:test:purge
- bundle exec rake db:schema:dump # if not up to date
-
- RAILS_ENV=test bundle exec rake db:drop
- RAILS_ENV=test bundle exec rake db:create
- RAILS_ENV=test bundle exec rake db:schema:load
+Thanks to `lib/tasks/extensions.rake`.