rubocop + shrine path fixed for testing
This commit is contained in:
parent
e1f42aee0c
commit
4bc64c3abf
1 changed files with 5 additions and 3 deletions
|
|
@ -13,10 +13,10 @@ Rails.application.configure do
|
||||||
# this is usually not necessary, and can slow down your test suite. However, it's
|
# this is usually not necessary, and can slow down your test suite. However, it's
|
||||||
# recommended that you enable it in continuous integration systems to ensure eager
|
# recommended that you enable it in continuous integration systems to ensure eager
|
||||||
# loading is working properly before deploying your code.
|
# loading is working properly before deploying your code.
|
||||||
config.eager_load = ENV["CI"].present?
|
config.eager_load = ENV['CI'].present?
|
||||||
|
|
||||||
# Configure public file server for tests with cache-control for performance.
|
# Configure public file server for tests with cache-control for performance.
|
||||||
config.public_file_server.headers = { "cache-control" => "public, max-age=3600" }
|
config.public_file_server.headers = { 'cache-control' => 'public, max-age=3600' }
|
||||||
|
|
||||||
# Show full error reports.
|
# Show full error reports.
|
||||||
config.consider_all_requests_local = true
|
config.consider_all_requests_local = true
|
||||||
|
|
@ -37,7 +37,7 @@ Rails.application.configure do
|
||||||
config.action_mailer.delivery_method = :test
|
config.action_mailer.delivery_method = :test
|
||||||
|
|
||||||
# Set host to be used by links generated in mailer templates.
|
# Set host to be used by links generated in mailer templates.
|
||||||
config.action_mailer.default_url_options = { host: "example.com" }
|
config.action_mailer.default_url_options = { host: 'example.com' }
|
||||||
|
|
||||||
# Print deprecation notices to the stderr.
|
# Print deprecation notices to the stderr.
|
||||||
config.active_support.deprecation = :stderr
|
config.active_support.deprecation = :stderr
|
||||||
|
|
@ -48,6 +48,8 @@ Rails.application.configure do
|
||||||
# Annotate rendered view with file names.
|
# Annotate rendered view with file names.
|
||||||
# config.action_view.annotate_rendered_view_with_filenames = true
|
# config.action_view.annotate_rendered_view_with_filenames = true
|
||||||
|
|
||||||
|
# Where Shrine stores the screenshots
|
||||||
|
config.shrine_storage_path = 'test/shrine'
|
||||||
|
|
||||||
# DEB package repositories to parse when running "rake debshots:... tasks"
|
# DEB package repositories to parse when running "rake debshots:... tasks"
|
||||||
config.package_sources = [
|
config.package_sources = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue