diff options
Diffstat (limited to 'activesupport/test/core_ext/array/prepend_append_test.rb')
-rw-r--r-- | activesupport/test/core_ext/array/prepend_append_test.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/activesupport/test/core_ext/array/prepend_append_test.rb b/activesupport/test/core_ext/array/prepend_append_test.rb new file mode 100644 index 0000000000..8573dbd5a6 --- /dev/null +++ b/activesupport/test/core_ext/array/prepend_append_test.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +require "abstract_unit" + +class PrependAppendTest < ActiveSupport::TestCase + def test_requiring_prepend_and_append_is_deprecated + assert_deprecated do + require "active_support/core_ext/array/prepend_and_append" + end + end +end |