diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-06-08 23:07:15 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-06-08 23:07:15 -0300 |
commit | 0de359c5ef3bccd3a54f014f6e2a45541011ef2e (patch) | |
tree | e2ad3999bfea3c3969e5e57318f4f623e67ebf50 /activemodel | |
parent | d0de07d21e29149fcd576df1e1f4547fac399603 (diff) | |
parent | 3f92a8247cf0cf0ae78d55aee5e9a6510060e939 (diff) | |
download | rails-0de359c5ef3bccd3a54f014f6e2a45541011ef2e.tar.gz rails-0de359c5ef3bccd3a54f014f6e2a45541011ef2e.tar.bz2 rails-0de359c5ef3bccd3a54f014f6e2a45541011ef2e.zip |
Merge pull request #20483 from davydovanton/fix-typo-am-test
Fix typo in AM I18n validation test name
Diffstat (limited to 'activemodel')
-rw-r--r-- | activemodel/test/cases/validations/i18n_validation_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/test/cases/validations/i18n_validation_test.rb b/activemodel/test/cases/validations/i18n_validation_test.rb index be17575402..70b93a202b 100644 --- a/activemodel/test/cases/validations/i18n_validation_test.rb +++ b/activemodel/test/cases/validations/i18n_validation_test.rb @@ -98,7 +98,7 @@ class I18nValidationTest < ActiveModel::TestCase # validates_length_of :within too short w/ mocha COMMON_CASES.each do |name, validation_options, generate_message_options| - test "validates_length_of for :withing on generated message when too short #{name}" do + test "validates_length_of for :within on generated message when too short #{name}" do Person.validates_length_of :title, validation_options.merge(within: 3..5) @mock_generator.expect(:call, nil, [:title, :too_short, generate_message_options.merge(count: 3)]) @person.errors.stub(:generate_message, @mock_generator) do |