diff options
author | Micah Anderson <micah@riseup.net> | 2016-11-04 10:54:28 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2016-11-04 10:54:28 -0400 |
commit | 34a381efa8f6295080c843f86bfa07d4e41056af (patch) | |
tree | 9282cf5d4c876688602705a7fa0002bc4a810bde /bin/run_tests | |
parent | 0a72bc6fd292bf9367b314fcb0347c4d35042f16 (diff) | |
parent | 5821964ff7e16ca7aa9141bd09a77d355db492a9 (diff) |
Merge branch 'develop'
Diffstat (limited to 'bin/run_tests')
-rwxr-xr-x | bin/run_tests | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/run_tests b/bin/run_tests index b6784ed5..8450a9bf 100755 --- a/bin/run_tests +++ b/bin/run_tests @@ -1,7 +1,7 @@ #!/usr/bin/ruby # -# this script will run the unit tests in ../tests/*.rb. +# This script will run the unit tests in /srv/leap/tests # # Tests for the platform differ from traditional ruby unit tests in a few ways: # @@ -29,11 +29,11 @@ EXIT_CODES = { HIERA_FILE = '/etc/leap/hiera.yaml' HELPER_PATHS = [ - '../../tests/helpers/*.rb', + '/srv/leap/tests/server-tests/helpers/*.rb', '/srv/leap/files/tests/helpers/*.rb' ] TEST_PATHS = [ - '../../tests/white-box/*.rb', + '/srv/leap/tests/server-tests/white-box/*.rb', '/srv/leap/files/tests/white-box/*.rb', '/srv/leap/tests_custom/*.rb' ] @@ -459,7 +459,7 @@ end def main # load node data from hiera file - if File.exists?(HIERA_FILE) + if File.exist?(HIERA_FILE) $node = YAML.load_file(HIERA_FILE) else $node = {"services" => [], "dummy" => true} |