diff --git a/config/environments/test.rb b/config/environments/test.rb index ac74cce..9e7ca70 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -13,10 +13,10 @@ Rails.application.configure do # 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 # 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. - 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. config.consider_all_requests_local = true @@ -37,7 +37,7 @@ Rails.application.configure do config.action_mailer.delivery_method = :test # 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. config.active_support.deprecation = :stderr @@ -48,6 +48,8 @@ Rails.application.configure do # Annotate rendered view with file names. # 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" config.package_sources = [