Permalink
Browse files

Merge pull request #10692 from vipulnsward/fix_test_3

Fix wrong `case_sensitive` in uniqueness validity test
  • Loading branch information...
josevalim committed May 20, 2013
2 parents 5c3aded + 2243ce3 commit 6c2fc9a5c76befba3e90f3ce4c7e8c75bfc71e57
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/validations/uniqueness_validation_test.rb
@@ -268,7 +268,7 @@ def test_validate_case_sensitive_uniqueness
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)

0 comments on commit 6c2fc9a

Please sign in to comment.