Capybara.save_path defaults to tmp/capybara

This commit is contained in:
James Mason 2018-11-19 08:58:34 -08:00
parent 8438df7a45
commit b66846f726
No known key found for this signature in database
GPG key ID: 1B3951886C449023

View file

@ -1,8 +1,5 @@
# frozen_string_literal: true
# Automatically save the page a test fails
Capybara.save_and_open_page_path = Rails.root.join('tmp', 'capybara')
RSpec.configure do |config|
config.after(:each, type: :feature) do
example_filename = RSpec.current_example.full_description