File tree Expand file tree Collapse file tree 5 files changed +13
-0
lines changed Expand file tree Collapse file tree 5 files changed +13
-0
lines changed Original file line number Diff line number Diff line change
1
+ * In the Active Job bug report template set the queue adapter to the
2
+ test adapter so that ` assert_enqueued_with ` can pass.
3
+
4
+ * Andrew White*
5
+
6
+ * Ensure all bug report templates set ` config.secret_key_base ` to avoid
7
+ generation of ` tmp/local_secret.txt ` files when running the report template.
8
+
9
+ * Andrew White*
1
10
2
11
Please check [ 8-0-stable] ( https://github.com/rails/rails/blob/8-0-stable/guides/CHANGELOG.md ) for previous changes.
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ class TestApp < Rails::Application
18
18
config . load_defaults Rails ::VERSION ::STRING . to_f
19
19
config . eager_load = false
20
20
config . logger = Logger . new ( $stdout)
21
+ config . secret_key_base = "secret_key_base"
21
22
end
22
23
Rails . application . initialize!
23
24
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ class TestApp < Rails::Application
17
17
config . load_defaults Rails ::VERSION ::STRING . to_f
18
18
config . eager_load = false
19
19
config . secret_key_base = "secret_key_base"
20
+ config . active_job . queue_adapter = :test
20
21
21
22
config . logger = Logger . new ( $stdout)
22
23
end
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ class TestApp < Rails::Application
22
22
config . load_defaults Rails ::VERSION ::STRING . to_f
23
23
config . eager_load = false
24
24
config . logger = Logger . new ( $stdout)
25
+ config . secret_key_base = "secret_key_base"
25
26
end
26
27
Rails . application . initialize!
27
28
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ class TestApp < Rails::Application
22
22
config . load_defaults Rails ::VERSION ::STRING . to_f
23
23
config . eager_load = false
24
24
config . logger = Logger . new ( $stdout)
25
+ config . secret_key_base = "secret_key_base"
25
26
end
26
27
Rails . application . initialize!
27
28
You can’t perform that action at this time.
0 commit comments