Skip to content

Commit 1ffef67

Browse files
committed
Remove unnecessary build_app calls in configuration tests
This is done in the setup.
1 parent 5d58bbe commit 1ffef67

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

railties/test/application/configuration_test.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1911,8 +1911,6 @@ def index
19111911
end
19121912

19131913
test "config.active_record.dump_schema_after_migration is false on production" do
1914-
build_app
1915-
19161914
app "production"
19171915

19181916
assert_not ActiveRecord.dump_schema_after_migration
@@ -3032,14 +3030,12 @@ class ::DummySerializer < ActiveJob::Serializers::ObjectSerializer; end
30323030
end
30333031

30343032
test "config.active_job.verbose_enqueue_logs defaults to true in development" do
3035-
build_app
30363033
app "development"
30373034

30383035
assert ActiveJob.verbose_enqueue_logs
30393036
end
30403037

30413038
test "config.active_job.verbose_enqueue_logs defaults to false in production" do
3042-
build_app
30433039
app "production"
30443040

30453041
assert_not ActiveJob.verbose_enqueue_logs

0 commit comments

Comments
 (0)