diff options
author | José Valim <jose.valim@plataformatec.com.br> | 2013-05-19 22:23:22 -0700 |
---|---|---|
committer | José Valim <jose.valim@plataformatec.com.br> | 2013-05-19 22:23:22 -0700 |
commit | 6c2fc9a5c76befba3e90f3ce4c7e8c75bfc71e57 (patch) | |
tree | c0ba542ceebf44a0732ff64265a74e466a200cf6 /activerecord/test | |
parent | 5c3aded290d9fc63093631487ef9045ac5563949 (diff) | |
parent | 2243ce3c97b1d8723d07eef5f1deb90d650f368d (diff) | |
download | rails-6c2fc9a5c76befba3e90f3ce4c7e8c75bfc71e57.tar.gz rails-6c2fc9a5c76befba3e90f3ce4c7e8c75bfc71e57.tar.bz2 rails-6c2fc9a5c76befba3e90f3ce4c7e8c75bfc71e57.zip |
Merge pull request #10692 from vipulnsward/fix_test_3
Fix wrong `case_sensitive` in uniqueness validity test
Diffstat (limited to 'activerecord/test')
-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 57457359b1..2b33f01783 100644 --- a/activerecord/test/cases/validations/uniqueness_validation_test.rb +++ b/activerecord/test/cases/validations/uniqueness_validation_test.rb @@ -268,7 +268,7 @@ class UniquenessValidationTest < ActiveRecord::TestCase end def test_validate_case_sensitive_uniqueness_with_attribute_passed_as_integer - Topic.validates_uniqueness_of(:title, :case_sensitve => true) + Topic.validates_uniqueness_of(:title, :case_sensitive => true) Topic.create!('title' => 101) t2 = Topic.new('title' => 101) |