Test an expression or property.
Test an expression or property
Examples: upon { a(:calculator).is(:is_open?) } upon { the(:user).is('level > 20') }
Parameters:
The value of _key is resolved in the current context object.
14 15 16 17
# File 'lib/canned/context/matchers/is.rb', line 14 def is(_key) return false unless indeed? Helpers.resolve(@stack.top, _key) end