inspec/docs/shared/matcher_be.md.erb

2 lines
284 B
Text
Raw Normal View History

2016-09-22 12:43:57 +00:00
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.