aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/database.yml.ccontrol2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/database.yml.ccontrol b/config/database.yml.ccontrol
index c9067ea11..48e2764af 100644
--- a/config/database.yml.ccontrol
+++ b/config/database.yml.ccontrol
@@ -7,7 +7,7 @@ development:
test:
adapter: jdbcpostgresql
- database: chouette2_test
+ database: <%= ENV["GIT_BRANCH"] == "master" ? "chouette_test" : "chouette_" + ENV["GIT_BRANCH"] + "_test" %>
encoding: utf8
username: chouette
password: chouette