module WithinHelpers

Public Instance Methods

with_scope(locator) { || ... } click to toggle source
# File lib/SimpliTest/helpers/step_helpers/within_helpers.rb, line 2
def with_scope(locator)
  locator ? within(*selector_for(locator)) { yield } : yield
end