diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-12-07 21:14:52 +0000 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-12-07 21:14:52 +0000 |
commit | 295dd1906a98913275145c5b9cc403f1e76cfd33 (patch) | |
tree | f45d7721c9a138b743ada905a12596f050a7473d /rails/test/dummy/config/environments/test.rb | |
parent | 460edd4191229635e86c0e3781a361126c140ca9 (diff) | |
parent | a37605e3d7d17e322a9cf2a497768f6fd8b5d0a3 (diff) | |
download | lingo-295dd1906a98913275145c5b9cc403f1e76cfd33.tar.gz lingo-295dd1906a98913275145c5b9cc403f1e76cfd33.tar.bz2 lingo-295dd1906a98913275145c5b9cc403f1e76cfd33.zip |
Merge branch 'main' of /srv/git/lingo into main
Diffstat (limited to 'rails/test/dummy/config/environments/test.rb')
-rw-r--r-- | rails/test/dummy/config/environments/test.rb | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/rails/test/dummy/config/environments/test.rb b/rails/test/dummy/config/environments/test.rb deleted file mode 100644 index 6ea4d1e..0000000 --- a/rails/test/dummy/config/environments/test.rb +++ /dev/null | |||
@@ -1,60 +0,0 @@ | |||
1 | require "active_support/core_ext/integer/time" | ||
2 | |||
3 | # The test environment is used exclusively to run your application's | ||
4 | # test suite. You never need to work with it otherwise. Remember that | ||
5 | # your test database is "scratch space" for the test suite and is wiped | ||
6 | # and recreated between test runs. Don't rely on the data there! | ||
7 | |||
8 | Rails.application.configure do | ||
9 | # Settings specified here will take precedence over those in config/application.rb. | ||
10 | |||
11 | # Turn false under Spring and add config.action_view.cache_template_loading = true. | ||
12 | config.cache_classes = true | ||
13 | |||
14 | # Eager loading loads your whole application. When running a single test locally, | ||
15 | # this probably isn't necessary. It's a good idea to do in a continuous integration | ||
16 | # system, or in some way before deploying your code. | ||
17 | config.eager_load = ENV["CI"].present? | ||
18 | |||
19 | # Configure public file server for tests with Cache-Control for performance. | ||
20 | config.public_file_server.enabled = true | ||
21 | config.public_file_server.headers = { | ||
22 | "Cache-Control" => "public, max-age=#{1.hour.to_i}" | ||
23 | } | ||
24 | |||
25 | # Show full error reports and disable caching. | ||
26 | config.consider_all_requests_local = true | ||
27 | config.action_controller.perform_caching = false | ||
28 | config.cache_store = :null_store | ||
29 | |||
30 | # Raise exceptions instead of rendering exception templates. | ||
31 | config.action_dispatch.show_exceptions = false | ||
32 | |||
33 | # Disable request forgery protection in test environment. | ||
34 | config.action_controller.allow_forgery_protection = false | ||
35 | |||
36 | # Store uploaded files on the local file system in a temporary directory. | ||
37 | config.active_storage.service = :test | ||
38 | |||
39 | config.action_mailer.perform_caching = false | ||
40 | |||
41 | # Tell Action Mailer not to deliver emails to the real world. | ||
42 | # The :test delivery method accumulates sent emails in the | ||
43 | # ActionMailer::Base.deliveries array. | ||
44 | config.action_mailer.delivery_method = :test | ||
45 | |||
46 | # Print deprecation notices to the stderr. | ||
47 | config.active_support.deprecation = :stderr | ||
48 | |||
49 | # Raise exceptions for disallowed deprecations. | ||
50 | config.active_support.disallowed_deprecation = :raise | ||
51 | |||
52 | # Tell Active Support which deprecation messages to disallow. | ||
53 | config.active_support.disallowed_deprecation_warnings = [] | ||
54 | |||
55 | # Raises error for missing translations. | ||
56 | # config.i18n.raise_on_missing_translations = true | ||
57 | |||
58 | # Annotate rendered view with file names. | ||
59 | # config.action_view.annotate_rendered_view_with_filenames = true | ||
60 | end | ||