diff options
author | Marcel Molina <marcel@vernix.org> | 2005-10-09 22:08:16 +0000 |
---|---|---|
committer | Marcel Molina <marcel@vernix.org> | 2005-10-09 22:08:16 +0000 |
commit | f4d1af3085cbe95cd8363fae86696a723122c195 (patch) | |
tree | 5fa7e025eac4f1df0738cf803efc02479d4b629b /activerecord/test | |
parent | 89733eaecffef3c1ad55345677411c872b1c99e4 (diff) | |
download | rails-f4d1af3085cbe95cd8363fae86696a723122c195.tar.gz rails-f4d1af3085cbe95cd8363fae86696a723122c195.tar.bz2 rails-f4d1af3085cbe95cd8363fae86696a723122c195.zip |
Fix typo of 'constrains' to 'contraints'. Closes #2069.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2510 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/conditions_scoping_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/conditions_scoping_test.rb b/activerecord/test/conditions_scoping_test.rb index 2f5b28f30f..bf6ddc52d1 100644 --- a/activerecord/test/conditions_scoping_test.rb +++ b/activerecord/test/conditions_scoping_test.rb @@ -9,7 +9,7 @@ class ConditionsScopingTest < Test::Unit::TestCase def test_set_conditions Developer.constrain(:conditions => 'just a test...') do - assert_equal 'just a test...', Thread.current[:constrains][Developer][:conditions] + assert_equal 'just a test...', Thread.current[:constraints][Developer][:conditions] end end |