From 164625ca1f41dd93f141033ca1cb36f5c82f6b9b Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Thu, 6 Oct 2005 17:13:24 +0000 Subject: Fixup tests for [2474]. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2478 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/test/fixtures/developer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/test/fixtures/developer.rb') diff --git a/activerecord/test/fixtures/developer.rb b/activerecord/test/fixtures/developer.rb index 17d0746cfa..1a4f0648bb 100644 --- a/activerecord/test/fixtures/developer.rb +++ b/activerecord/test/fixtures/developer.rb @@ -1,7 +1,7 @@ class Developer < ActiveRecord::Base has_and_belongs_to_many :projects has_and_belongs_to_many :special_projects, :join_table => 'developers_projects', :association_foreign_key => 'project_id' - + validates_inclusion_of :salary, :in => 50000..200000 validates_length_of :name, :within => 3..20 end -- cgit v1.2.3