Sha256: 326a23d02a369d054a2933a3a5c85223a84b45cacdc38be758fc3d92e535ea2d

Contents?: true

Size: 285 Bytes

Versions: 6

Compression:

Stored size: 285 Bytes

Contents

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.

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
inspec-2.1.81 docs/shared/matcher_be.md.erb
inspec-2.1.21 docs/shared/matcher_be.md.erb
inspec-2.1.10 docs/shared/matcher_be.md.erb
inspec-2.0.32 docs/shared/matcher_be.md.erb
inspec-2.0.17 docs/shared/matcher_be.md.erb
inspec-1.51.15 docs/shared/matcher_be.md.erb