1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activemodel/test/cases/validations
Ryuta Kamizono c81af6ae72 Enable Layout/EmptyLinesAroundAccessModifier cop
We sometimes say "✂️ newline after `private`" in a code review (e.g.
https://github.com/rails/rails/pull/18546#discussion_r23188776,
https://github.com/rails/rails/pull/34832#discussion_r244847195).

Now `Layout/EmptyLinesAroundAccessModifier` cop have new enforced style
`EnforcedStyle: only_before` (https://github.com/rubocop-hq/rubocop/pull/7059).

That cop and enforced style will reduce the our code review cost.
2019-06-13 12:00:45 +09:00
..
absence_validation_test.rb Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
acceptance_validation_test.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
callbacks_test.rb Fix validation callbacks on multiple context 2017-12-20 00:27:19 +09:00
conditional_validation_test.rb activemodel typo fix. 2019-02-25 17:16:10 +05:30
confirmation_validation_test.rb Enable Style/RedundantBegin cop to avoid newly adding redundant begin block 2018-12-21 06:12:42 +09:00
exclusion_validation_test.rb Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
format_validation_test.rb Use assert_empty and assert_not_empty 2018-01-25 23:32:59 -05:00
i18n_generate_message_validation_test.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00
i18n_validation_test.rb Merge pull request #32313 from lulalala/model_error_as_object 2019-04-24 16:16:00 -04:00
inclusion_validation_test.rb Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
length_validation_test.rb Module#{define_method,alias_method,undef_method,remove_method} become public since Ruby 2.5 2018-12-21 01:39:18 +09:00
numericality_validation_test.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
presence_validation_test.rb Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
validates_test.rb Fix CustomCops/AssertNot to allow it to have failure message 2018-05-13 11:32:47 +09:00
validations_context_test.rb Raise deprecation for calling [:f] = 'b' or [:f] << 'b' 2019-03-31 22:59:12 +08:00
with_validation_test.rb Raise deprecation for calling [:f] = 'b' or [:f] << 'b' 2019-03-31 22:59:12 +08:00