inspec/docs/shared/matcher_be.md.erb
2016-09-22 15:23:21 +02:00

1 line
284 B
Text

Use the `be` matcher to use a comparison operator---`=` (equal to), `>` (greater than), `<` (less than), `>=` (greater than or equal to), and `<=` (less than or equal to)---to compare two values: `its('value') { should be >= value }`, `its('value') { should be < value }`, and so on.