Method: Webspicy::Tester::Assertions#exists
- Defined in:
- lib/webspicy/tester/assertions.rb
#exists(target, path = NO_ARG) ⇒ Object
9 10 11 12 |
# File 'lib/webspicy/tester/assertions.rb', line 9 def exists(target, path = NO_ARG) target = extract_path(target, path) not target.nil? end |