1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionmailer/test
Ryuta Kamizono 6a4395f466 Deprecate starts_with? and ends_with? for String core extensions
In the past, we sometimes hit missing `Symbol#start_with?` and
`Symbol#end_with?`.

63256bc5d7
a8e812964d

So I proposed `Symbol#start_with?` and `Symbol#end_with?` to allow duck
typing that methods for String and Symbol, then now it is available in
Ruby 2.7.

https://bugs.ruby-lang.org/issues/16348

Using `String#starts_with?` and `String#ends_with?` could not be gained
that conveniency, so it is preferable to not use these in the future.
2020-05-05 15:51:24 +09:00
..
fixtures Add test and change how format set in ActionMailer 2019-03-01 14:07:59 -08:00
mailers Fix keyword arguments warnings in Action Mailer 2020-01-21 09:23:15 +09:00
abstract_unit.rb Revert "MethodCallAssertions is a regular player of the team ActiveSupport::TestCase now" 2019-08-02 00:24:21 -04:00
assert_select_email_test.rb Change the empty block style to have space inside of the block 2018-09-25 13:19:35 -04:00
asset_host_test.rb Deprecate starts_with? and ends_with? for String core extensions 2020-05-05 15:51:24 +09:00
base_test.rb Escape email addresses with name 2019-08-26 17:21:06 +02:00
caching_test.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
delivery_methods_test.rb Use frozen string literal in actionmailer/ 2017-07-23 18:17:19 +03:00
i18n_with_controller_test.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
log_subscriber_test.rb Remove deprecated ActionMailer::Base.receive in favor of Action Mailbox 2020-05-05 00:06:22 -04:00
mail_helper_test.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
mail_layout_test.rb Use frozen string literal in actionmailer/ 2017-07-23 18:17:19 +03:00
message_delivery_test.rb Fix keyword arguments warnings in Action Mailer 2020-01-21 09:23:15 +09:00
parameterized_test.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
test_case_test.rb Use frozen string literal in actionmailer/ 2017-07-23 18:17:19 +03:00
test_helper_test.rb Remove deprecated ActionMailer::DeliveryJob and ActionMailer::Parameterized::DeliveryJob 2020-05-05 00:31:14 -04:00
url_test.rb Remove method encode from url_test in Actionmailer: 2020-01-08 11:52:13 -03:00