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
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
..
serializers Enable Style/RedundantBegin cop to avoid newly adding redundant begin block 2018-12-21 06:12:42 +09:00
type Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
validations Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
attribute_assignment_test.rb Improve error message when assign wrong attributes to model 2018-04-28 16:27:16 +05:00
attribute_methods_test.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
attribute_set_test.rb Fix spellings for 'unmarshall(ing/ed)' & 'marshall(ing/ed)' 2018-10-02 13:55:39 +05:30
attribute_test.rb Replace “can not” with “cannot”. 2019-03-06 16:35:52 -05:00
attributes_dirty_test.rb Replace assert ! with assert_not 2018-04-19 08:11:33 -04:00
attributes_test.rb Add attribute_names to ActiveModel::Attributes 2019-04-22 19:48:17 -04:00
callbacks_test.rb Change the empty block style to have space inside of the block 2018-09-25 13:19:35 -04:00
conversion_test.rb
dirty_test.rb Enable Performance/UnfreezeString cop 2018-09-23 08:56:55 +09:00
error_test.rb Fix equality comparison raising error bug 2019-03-31 22:59:13 +08:00
errors_test.rb any? should be delegated to the errors list 2019-04-30 16:54:40 -05:00
forbidden_attributes_protection_test.rb
helper.rb Output junit format test report 2019-04-04 14:34:46 +09:00
lint_test.rb
model_test.rb
naming_test.rb Fix CustomCops/AssertNot to allow it to have failure message 2018-05-13 11:32:47 +09:00
nested_error_test.rb Fix test case name to fit file name 2019-05-04 17:49:25 +09:00
railtie_test.rb Fixed the test description for i18n-customize-full-message after rename in #35789 2019-03-30 00:00:45 +05:30
secure_password_test.rb Refactor has_secure_password to extract dedicated attribute module 2019-04-05 01:55:00 +09:00
serialization_test.rb Merge pull request #28270 from mmangino/dont_ignore_seralization_options 2018-02-27 23:42:15 +09:00
translation_test.rb
validations_test.rb Assert deprecation 2019-03-31 22:59:12 +08:00