Capybara.save_path defaults to tmp/capybara

This commit is contained in:
James Mason 2018-11-19 08:58:34 -08:00
parent 4b7a7292cb
commit 287344e816

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