aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/validations/length_validation_test.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2016-08-07 11:48:29 +0200
committerGitHub <noreply@github.com>2016-08-07 11:48:29 +0200
commitfb98d2e57162876c0e1823a5357bc44a932d08b9 (patch)
tree2c3225f7698ef3f7b2556510136c64a58ecf7355 /activerecord/test/cases/validations/length_validation_test.rb
parent0d12708f3967fe93c172b30bd3e98e4433761c36 (diff)
parent762e3f05f3d372cb32570db0deeef27232c4dd00 (diff)
downloadrails-fb98d2e57162876c0e1823a5357bc44a932d08b9.tar.gz
rails-fb98d2e57162876c0e1823a5357bc44a932d08b9.tar.bz2
rails-fb98d2e57162876c0e1823a5357bc44a932d08b9.zip
Merge pull request #26077 from kamipo/add_stype_empty_lines
Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty lines
Diffstat (limited to 'activerecord/test/cases/validations/length_validation_test.rb')
-rw-r--r--activerecord/test/cases/validations/length_validation_test.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/test/cases/validations/length_validation_test.rb b/activerecord/test/cases/validations/length_validation_test.rb
index 08dd740b01..4fcb3e2eb6 100644
--- a/activerecord/test/cases/validations/length_validation_test.rb
+++ b/activerecord/test/cases/validations/length_validation_test.rb
@@ -12,7 +12,6 @@ class LengthValidationTest < ActiveRecord::TestCase
end
end
-
def test_validates_size_of_association
assert_nothing_raised { @owner.validates_size_of :pets, minimum: 1 }
o = @owner.new("name" => "nopets")