Sha256: ff270409fc14a462da372bc56610a279597a39a8c5ff97e54a9394c2120a66b9

Contents?: true

Size: 220 Bytes

Versions: 14

Compression:

Stored size: 220 Bytes

Contents

module CapybaraHelpers
  def pause
    STDIN.getc
  end

  def mini_sleep
    sleep 0.1
  end

  def with_scope(locator)
    locator ? within(*selector_for(locator)) { yield } : yield
  end
end

World(::CapybaraHelpers)

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ab_admin-0.3.6 features/support/capybara_helpers.rb
ab_admin-0.3.5 features/support/capybara_helpers.rb
ab_admin-0.3.4 features/support/capybara_helpers.rb
ab_admin-0.3.3 features/support/capybara_helpers.rb
ab_admin-0.3.2 features/support/capybara_helpers.rb
ab_admin-0.3.1 features/support/capybara_helpers.rb
ab_admin-0.3.0 features/support/capybara_helpers.rb
ab_admin-0.2.3 features/support/capybara_helpers.rb
ab_admin-0.2.2 features/support/capybara_helpers.rb
ab_admin-0.2.1 features/support/capybara_helpers.rb
ab_admin-0.2.0 features/support/capybara_helpers.rb
ab_admin-0.1.2 features/support/capybara_helpers.rb
ab_admin-0.1.1 features/support/capybara_helpers.rb
ab_admin-0.1.0 features/support/capybara_helpers.rb