diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2017-03-04 19:35:25 +0000 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2017-03-04 19:35:25 +0000 |
commit | 12038f6505cdbcdbea861c7ae5f272e918100e13 (patch) | |
tree | dc44bfc71a96287d30f109dd94afee51558734fc /activerecord/test/cases | |
parent | 1fd6bb6eece38a0dae6794dac8bcd3c0e26f0acf (diff) | |
parent | c0f621ae63b048c02a1c8341a7c093e8a76c0e7e (diff) | |
download | rails-12038f6505cdbcdbea861c7ae5f272e918100e13.tar.gz rails-12038f6505cdbcdbea861c7ae5f272e918100e13.tar.bz2 rails-12038f6505cdbcdbea861c7ae5f272e918100e13.zip |
Merge branch 'master' of github.com:rails/docrails
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/validations/uniqueness_validation_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/validations/uniqueness_validation_test.rb b/activerecord/test/cases/validations/uniqueness_validation_test.rb index 277280b42e..28605d2f8e 100644 --- a/activerecord/test/cases/validations/uniqueness_validation_test.rb +++ b/activerecord/test/cases/validations/uniqueness_validation_test.rb @@ -385,7 +385,7 @@ class UniquenessValidationTest < ActiveRecord::TestCase def test_validate_uniqueness_with_limit_and_utf8 if current_adapter?(:SQLite3Adapter) - # Event.title has limit 5, but does SQLite doesn't truncate. + # Event.title has limit 5, but SQLite doesn't truncate. e1 = Event.create(title: "一二三四五六七八") assert e1.valid?, "Could not create an event with a unique 8 characters title" |