aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/validations_test.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2004-12-19 11:41:34 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2004-12-19 11:41:34 +0000
commit87b0d72fe6f97a6364a67228fdcd3a6e3a40f602 (patch)
tree2dd592b908d2a85c6321622538dbc0177d826f56 /activerecord/test/validations_test.rb
parent7b5ed66122873eebb773a6418f3a94d946cc4f8c (diff)
downloadrails-87b0d72fe6f97a6364a67228fdcd3a6e3a40f602.tar.gz
rails-87b0d72fe6f97a6364a67228fdcd3a6e3a40f602.tar.bz2
rails-87b0d72fe6f97a6364a67228fdcd3a6e3a40f602.zip
Added Developer#salary for the type tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@216 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/validations_test.rb')
-rwxr-xr-xactiverecord/test/validations_test.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/test/validations_test.rb b/activerecord/test/validations_test.rb
index 8949206706..e29006983e 100755
--- a/activerecord/test/validations_test.rb
+++ b/activerecord/test/validations_test.rb
@@ -348,7 +348,6 @@ class ValidationsTest < Test::Unit::TestCase
assert_equal "hoo 5", t.errors["title"]
end
-
def test_throw_away_typing
d = Developer.create "name" => "David", "salary" => "100,000"
assert !d.valid?