From 3f92a8247cf0cf0ae78d55aee5e9a6510060e939 Mon Sep 17 00:00:00 2001 From: Anton Davydov Date: Tue, 9 Jun 2015 01:23:20 +0300 Subject: Fix typo in AM I18n validation test name [skip ci] --- activemodel/test/cases/validations/i18n_validation_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3