docs/resources/pip.md.erb in inspec-1.50.1 vs docs/resources/pip.md.erb in inspec-1.51.0
- old
+ new
@@ -38,9 +38,16 @@
describe pip('Jinja2') do
it { should be_installed }
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
This InSpec audit resource has the following matchers. For a full list of available matchers please visit our [matchers page](https://www.inspec.io/docs/reference/matchers/).