Skip to content

Commit a7ea61f

Browse files
authored
Merge pull request rails#54617 from byroot/move-strict-warnings
Move StrictWarnings to the tools directory
2 parents b777cfa + f3f31ee commit a7ea61f

File tree

19 files changed

+58
-60
lines changed

19 files changed

+58
-60
lines changed

actioncable/test/test_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
require "active_support/testing/strict_warnings"
3+
require_relative "../../tools/strict_warnings"
44
require "action_cable"
55
require "active_support/testing/autorun"
66
require "active_support/testing/method_call_assertions"

actionmailbox/test/test_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
require "active_support/testing/strict_warnings"
3+
require_relative "../../tools/strict_warnings"
44

55
ENV["RAILS_ENV"] = "test"
66
ENV["RAILS_INBOUND_EMAIL_PASSWORD"] = "tbsy84uSV1Kt3ZJZELY2TmShPRs91E3yL4tzf96297vBCkDWgL"

actionmailer/test/abstract_unit.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
require "active_support/testing/strict_warnings"
3+
require_relative "../../tools/strict_warnings"
44
require "active_support/core_ext/kernel/reporting"
55

66
# These are the normal settings that will be set up by Railties

actionpack/test/abstract_unit.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
require "active_support/testing/strict_warnings"
3+
require_relative "../../tools/strict_warnings"
44

55
$:.unshift File.expand_path("lib", __dir__)
66

actiontext/test/test_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
require "active_support/testing/strict_warnings"
3+
require_relative "../../tools/strict_warnings"
44

55
# Configure Rails Environment
66
ENV["RAILS_ENV"] = "test"

actionview/test/abstract_unit.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
require "active_support/testing/strict_warnings"
3+
require_relative "../../tools/strict_warnings"
44

55
$:.unshift File.expand_path("lib", __dir__)
66

activejob/test/helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
require "active_support/testing/strict_warnings"
3+
require_relative "../../tools/strict_warnings"
44
require "active_job"
55
require "support/job_buffer"
66

activemodel/test/cases/helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
require "active_support/testing/strict_warnings"
3+
require_relative "../../../tools/strict_warnings"
44
require "active_model"
55

66
# Show backtraces for deprecated behavior for quicker cleanup.

activerecord/test/cases/test_case.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
require "active_support/testing/strict_warnings"
3+
require_relative "../../../tools/strict_warnings"
44
require "active_support"
55
require "active_support/testing/autorun"
66
require "active_support/testing/method_call_assertions"

activestorage/test/test_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
require "active_support/testing/strict_warnings"
3+
require_relative "../../tools/strict_warnings"
44

55
ENV["RAILS_ENV"] ||= "test"
66
require_relative "dummy/config/environment.rb"

0 commit comments

Comments
 (0)