Make base implementation of target-file target_basename to use and cache the more expressive generate_file_name method indicating a temporary nature of the result

This commit is contained in:
2018-05-16 14:13:30 -03:00
parent 58f9c95f4e
commit c0a951c5f3
3 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ ActiveRecord::Migration.maintain_test_schema!
Capybara.javascript_driver = :poltergeist
Capybara::Screenshot.webkit_options = { width: 1024, height: 768 }
Capybara.save_and_open_page_path = Rails.root.join('tmp/screenshots')
#Capybara.save_and_open_page_path = Rails.root.join('tmp/screenshots')
RSpec::Support::ObjectFormatter.default_instance.max_formatted_output_length = 10_000 # do not trash string like: expected: "abc .... def"