Make filename configurable

This commit is contained in:
Oliver Davies 2019-05-02 19:49:39 +01:00
parent a11d7b65b7
commit 26ad8e735b
3 changed files with 3 additions and 2 deletions

View file

@ -6,5 +6,6 @@
- root: /var/www/test
sites:
- name: default
filename: settings.test.php
roles:
- role: opdavies.drupal-settings

View file

@ -12,7 +12,7 @@ def test_drupal_site_directory_exists(host):
assert directory.is_directory
def test_drupal_settings_file_exists(host):
file = host.file('/var/www/test/sites/default/settings.php')
file = host.file('/var/www/test/sites/default/settings.test.php')
assert file.exists
assert file.is_file