Module: Smartest::Expectations

Included in:
ExecutionContext
Defined in:
lib/smartest/expectations.rb

Instance Method Summary collapse

Instance Method Details

#expect(actual = nil, &block) ⇒ Object



5
6
7
# File 'lib/smartest/expectations.rb', line 5

def expect(actual = nil, &block)
  ExpectationTarget.new(block || actual)
end