diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-07-12 21:29:48 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2018-07-12 21:29:48 +0900 |
commit | 6f58b2cfc97d9ac2358600f18b0fabc48fdfc2c6 (patch) | |
tree | b0c3d32658fb03897afac75eb530c3c0a0b01939 /activerecord/test/cases/inheritance_test.rb | |
parent | 7fc499d1353f98b96c09ee755045e4aa37880962 (diff) | |
download | rails-6f58b2cfc97d9ac2358600f18b0fabc48fdfc2c6.tar.gz rails-6f58b2cfc97d9ac2358600f18b0fabc48fdfc2c6.tar.bz2 rails-6f58b2cfc97d9ac2358600f18b0fabc48fdfc2c6.zip |
Enable `Layout/EmptyLinesAroundBlockBody` to reduce review cost in the future
We sometimes ask "✂️ extra blank lines" to a contributor in reviews like
https://github.com/rails/rails/pull/33337#discussion_r201509738.
It is preferable to deal automatically without depending on manpower.
Diffstat (limited to 'activerecord/test/cases/inheritance_test.rb')
-rw-r--r-- | activerecord/test/cases/inheritance_test.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/test/cases/inheritance_test.rb b/activerecord/test/cases/inheritance_test.rb index 4a0ad0442a..3d3189900f 100644 --- a/activerecord/test/cases/inheritance_test.rb +++ b/activerecord/test/cases/inheritance_test.rb @@ -91,7 +91,6 @@ class InheritanceTest < ActiveRecord::TestCase end ActiveSupport::Dependencies.stub(:safe_constantize, proc { raise e }) do - exception = assert_raises NameError do Company.send :compute_type, "InvalidModel" end |