Method: Inspec::Rule#expect

Defined in:
lib/inspec/rule.rb

#expect(value, &block) ⇒ Object



108
109
110
111
112
# File 'lib/inspec/rule.rb', line 108

def expect(value, &block)
  target = Inspec::Expect.new(value, &block)
  __add_check('expect', [value], target)
  target
end