X-Git-Url: https://git.arvados.org/arvados-formula.git/blobdiff_plain/6c52de7c70c90784df58e6dbc6c43a71b9cc7e7c..df42b08093c924e65da094864a0451b8b70a8258:/test/integration/api/controls/config_spec.rb diff --git a/test/integration/api/controls/config_spec.rb b/test/integration/api/controls/config_spec.rb index 4585b95..0f64cb2 100644 --- a/test/integration/api/controls/config_spec.rb +++ b/test/integration/api/controls/config_spec.rb @@ -2,7 +2,6 @@ api_stanza = <<-API_STANZA API: - RailsSessionSecretToken: "changemerailssecrettoken" API_STANZA rails_stanza = <<-RAILS_STANZA @@ -11,6 +10,20 @@ rails_stanza = <<-RAILS_STANZA http://api.internal:8004: {} RAILS_STANZA +database_stanza = <<-DATABASE_STANZA + ### DATABASE CONFIGURATION + PostgreSQL: + ConnectionPool: 32 + Connection: + # All parameters here are passed to the PG client library in a connection string; + # see https://www.postgresql.org/docs/current/static/libpq-connect.html#LIBPQ-PARAMKEYWORDS + dbname: arvados + host: 127.0.0.1 + password: "changeme_arvados" + user: arvados + client_encoding: UTF8 +DATABASE_STANZA + group = case os[:name] when 'centos' 'nginx' @@ -33,5 +46,6 @@ control 'arvados configuration' do end its('content') { should include(api_stanza) } its('content') { should include(rails_stanza) } + its('content') { should include(database_stanza) } end end