Permalink
Browse files

Fix wrong `case_sensitive` in uniqueness validity test

  • Loading branch information...
1 parent f924823 commit 2243ce3c97b1d8723d07eef5f1deb90d650f368d @vipulnsward vipulnsward committed May 20, 2013
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 2243ce3

Please sign in to comment.