tests: test_helper already loads composure.sh

...and `cite()`s metadata
This commit is contained in:
John D Pell
2021-10-19 11:28:48 -04:00
parent b2279b7237
commit 9dcbeec7ad
19 changed files with 5 additions and 40 deletions

6
test/plugins/ruby.plugin.bats Executable file → Normal file
View File

@@ -2,14 +2,14 @@
load ../test_helper
load ../../lib/helpers
load "${BASH_IT}/vendor/github.com/erichs/composure/composure.sh"
load ../../plugins/available/ruby.plugin
function local_setup {
setup_test_fixture
export OLD_PATH="$PATH"
export PATH="/usr/bin:/bin:/usr/sbin"
load ../../plugins/available/ruby.plugin
}
function local_teardown {
@@ -27,8 +27,6 @@ function local_teardown {
skip 'ruby not installed'
fi
load ../../plugins/available/ruby.plugin
local last_path_entry=$(echo $PATH | tr ":" "\n" | tail -1)
[[ "${last_path_entry}" == "${HOME}"/.gem/ruby/*/bin ]]
}