mirror of
https://github.com/inspec/inspec
synced 2024-11-10 15:14:23 +00:00
fix: apt resource matchs repositories not packages
Obvious fix. Signed-off-by: nqb <nqb+git@azyx.fr>
This commit is contained in:
parent
8639d3008c
commit
79078d611c
1 changed files with 2 additions and 2 deletions
|
@ -70,12 +70,12 @@ For a full list of available matchers, please visit our [matchers page](https://
|
|||
|
||||
### be_enabled
|
||||
|
||||
The `be_enabled` matcher tests if a package exists in the repository:
|
||||
The `be_enabled` matcher tests if a repository is enabled on the system:
|
||||
|
||||
it { should be_enabled }
|
||||
|
||||
### exist
|
||||
|
||||
The `exist` matcher tests if a package exists on the system:
|
||||
The `exist` matcher tests if a repository exists on the system:
|
||||
|
||||
it { should exist }
|
||||
|
|
Loading…
Reference in a new issue