mirror of
https://github.com/inspec/inspec
synced 2024-11-10 15:14:23 +00:00
Update test mock file to match invocation
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
This commit is contained in:
parent
2092984fdd
commit
f85de31292
1 changed files with 2 additions and 2 deletions
|
@ -228,8 +228,8 @@ class MockLoader
|
|||
"/opt/chef/embedded/bin/gem list --local -a -q ^chef-sugar$" => cmd.call("gem-list-local-a-q-chef-sugar"),
|
||||
'c:\opscode\chef\embedded\bin\gem.bat list --local -a -q ^json$' => cmd.call("gem-list-local-a-q-json"),
|
||||
"/opt/opscode/embedded/bin/gem list --local -a -q ^knife-backup$" => cmd.call("gem-list-local-a-q-knife-backup"),
|
||||
"npm -g ls --json bower" => cmd.call("npm-g-ls--json-bower"),
|
||||
"cd /path/to/project && npm ls --json bower" => cmd.call("npm-ls--json-bower"),
|
||||
"sh -c 'npm -g ls --json bower'" => cmd.call("npm-g-ls--json-bower"),
|
||||
"sh -c 'cd /path/to/project && npm ls --json bower'" => cmd.call("npm-ls--json-bower"),
|
||||
"Rscript -e 'packageVersion(\"DBI\")'" => cmd.call("r-print-version"),
|
||||
"Rscript -e 'packageVersion(\"DoesNotExist\")'" => cmd.call("r-print-version-not-installed"),
|
||||
"perl -le 'eval \"require $ARGV[0]\" and print $ARGV[0]->VERSION or exit 1' DBD::Pg" => cmd.call("perl-print-version"),
|
||||
|
|
Loading…
Reference in a new issue