Method: Inspec::Rule#expect
- Defined in:
- lib/inspec/rule.rb
#expect(value, &block) ⇒ Object
167 168 169 170 171 |
# File 'lib/inspec/rule.rb', line 167 def expect(value, &block) target = Inspec::Expect.new(value, &with_dsl(block)) __add_check('expect', [value], target) target end |