diff options
author | Anton Davydov <antondavydov.o@gmail.com> | 2015-06-09 01:23:20 +0300 |
---|---|---|
committer | Anton Davydov <antondavydov.o@gmail.com> | 2015-06-09 01:23:20 +0300 |
commit | 3f92a8247cf0cf0ae78d55aee5e9a6510060e939 (patch) | |
tree | b4b281340a908862b02d43176d653a07b876c8f2 | |
parent | ec69a45f5bb49c096f460a6bbe85d9d8890488b5 (diff) | |
download | rails-3f92a8247cf0cf0ae78d55aee5e9a6510060e939.tar.gz rails-3f92a8247cf0cf0ae78d55aee5e9a6510060e939.tar.bz2 rails-3f92a8247cf0cf0ae78d55aee5e9a6510060e939.zip |
Fix typo in AM I18n validation test name [skip ci]
-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 |