mirror of
https://github.com/inspec/inspec
synced 2025-02-17 06:28:40 +00:00
pip resource docs: mention custom path to pip as introduced by GH-2097 (#2459)
Signed-off-by: Markus Grobelin <grobi@koppzu.de>
This commit is contained in:
parent
1ec706721d
commit
dee94b6416
1 changed files with 7 additions and 0 deletions
|
@ -40,6 +40,13 @@ The following examples show how to use this InSpec audit resource.
|
|||
its('version') { should eq '2.8' }
|
||||
end
|
||||
|
||||
### Test packages installed into a non-default location (e.g. virtualenv) by passing a custom path to pip executable
|
||||
|
||||
describe pip('Jinja2', '/path/to/bin/pip') do
|
||||
it { should be_installed }
|
||||
its('version') { should eq '2.8' }
|
||||
end
|
||||
|
||||
<br>
|
||||
|
||||
## Matchers
|
||||
|
|
Loading…
Add table
Reference in a new issue