Sha256: f404a9b6a4a73ccdd816c7d022697c722c15fb25f2677979af9c7b8c6521b82a

Contents?: true

Size: 235 Bytes

Versions: 2

Compression:

Stored size: 235 Bytes

Contents

# frozen_string_literal: true

module CapybaraHelpers
  def page!
    save_and_open_page
  end

  def screenshot!
    save_and_open_screenshot
  end
end

RSpec.configure do |config|
  config.include CapybaraHelpers, type: :feature
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
welaika-suspenders-2.29.0.alpha.2 templates/capybara_helpers.rb
welaika-suspenders-2.29.0.alpha.1 templates/capybara_helpers.rb