diff options
author | Josh Kalderimis <josh.kalderimis@gmail.com> | 2010-05-08 23:43:42 +0300 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2010-05-09 00:08:11 +0300 |
commit | 88ad3ed8b53a66954f50a423e138052d048a42c3 (patch) | |
tree | e0342a150557c17b0874e3b91749740ee3ba625c /activemodel/test | |
parent | e17ff6d617abe3fa36c053eaed52e134074035a1 (diff) | |
download | rails-88ad3ed8b53a66954f50a423e138052d048a42c3.tar.gz rails-88ad3ed8b53a66954f50a423e138052d048a42c3.tar.bz2 rails-88ad3ed8b53a66954f50a423e138052d048a42c3.zip |
removed an old unused model in the AMo tests which also removes another AR dependency
Diffstat (limited to 'activemodel/test')
9 files changed, 0 insertions, 14 deletions
diff --git a/activemodel/test/cases/validations/acceptance_validation_test.rb b/activemodel/test/cases/validations/acceptance_validation_test.rb index b316b8f17b..4d0c7cde8b 100644 --- a/activemodel/test/cases/validations/acceptance_validation_test.rb +++ b/activemodel/test/cases/validations/acceptance_validation_test.rb @@ -4,7 +4,6 @@ require 'cases/tests_database' require 'models/topic' require 'models/reply' -require 'models/developer' require 'models/person' class AcceptanceValidationTest < ActiveModel::TestCase diff --git a/activemodel/test/cases/validations/confirmation_validation_test.rb b/activemodel/test/cases/validations/confirmation_validation_test.rb index 59b30e211b..ee6fc68840 100644 --- a/activemodel/test/cases/validations/confirmation_validation_test.rb +++ b/activemodel/test/cases/validations/confirmation_validation_test.rb @@ -3,7 +3,6 @@ require 'cases/helper' require 'cases/tests_database' require 'models/topic' -require 'models/developer' require 'models/person' class ConfirmationValidationTest < ActiveModel::TestCase diff --git a/activemodel/test/cases/validations/format_validation_test.rb b/activemodel/test/cases/validations/format_validation_test.rb index 0895cf0952..d1731f2bf9 100644 --- a/activemodel/test/cases/validations/format_validation_test.rb +++ b/activemodel/test/cases/validations/format_validation_test.rb @@ -3,7 +3,6 @@ require 'cases/helper' require 'cases/tests_database' require 'models/topic' -require 'models/developer' require 'models/person' class PresenceValidationTest < ActiveModel::TestCase diff --git a/activemodel/test/cases/validations/inclusion_validation_test.rb b/activemodel/test/cases/validations/inclusion_validation_test.rb index 6a977385c6..f128b2c9e9 100644 --- a/activemodel/test/cases/validations/inclusion_validation_test.rb +++ b/activemodel/test/cases/validations/inclusion_validation_test.rb @@ -3,7 +3,6 @@ require 'cases/helper' require 'cases/tests_database' require 'models/topic' -require 'models/developer' require 'models/person' class InclusionValidationTest < ActiveModel::TestCase diff --git a/activemodel/test/cases/validations/length_validation_test.rb b/activemodel/test/cases/validations/length_validation_test.rb index da3146f267..f188d04ba2 100644 --- a/activemodel/test/cases/validations/length_validation_test.rb +++ b/activemodel/test/cases/validations/length_validation_test.rb @@ -3,7 +3,6 @@ require 'cases/helper' require 'cases/tests_database' require 'models/topic' -require 'models/developer' require 'models/person' class LengthValidationTest < ActiveModel::TestCase diff --git a/activemodel/test/cases/validations/numericality_validation_test.rb b/activemodel/test/cases/validations/numericality_validation_test.rb index 3e3abdbc83..2cf69ec264 100644 --- a/activemodel/test/cases/validations/numericality_validation_test.rb +++ b/activemodel/test/cases/validations/numericality_validation_test.rb @@ -3,7 +3,6 @@ require 'cases/helper' require 'cases/tests_database' require 'models/topic' -require 'models/developer' require 'models/person' class NumericalityValidationTest < ActiveModel::TestCase diff --git a/activemodel/test/cases/validations/presence_validation_test.rb b/activemodel/test/cases/validations/presence_validation_test.rb index 7fc78b1835..370b519812 100644 --- a/activemodel/test/cases/validations/presence_validation_test.rb +++ b/activemodel/test/cases/validations/presence_validation_test.rb @@ -3,7 +3,6 @@ require 'cases/helper' require 'cases/tests_database' require 'models/topic' -require 'models/developer' require 'models/person' require 'models/custom_reader' diff --git a/activemodel/test/cases/validations_test.rb b/activemodel/test/cases/validations_test.rb index d3c654e135..0594580804 100644 --- a/activemodel/test/cases/validations_test.rb +++ b/activemodel/test/cases/validations_test.rb @@ -4,7 +4,6 @@ require 'cases/tests_database' require 'models/topic' require 'models/reply' -require 'models/developer' require 'models/custom_reader' class ValidationsTest < ActiveModel::TestCase diff --git a/activemodel/test/models/developer.rb b/activemodel/test/models/developer.rb deleted file mode 100644 index 5e6eefeed1..0000000000 --- a/activemodel/test/models/developer.rb +++ /dev/null @@ -1,6 +0,0 @@ -class Developer < ActiveRecord::Base - validates_inclusion_of :salary, :in => 50000..200000 - validates_length_of :name, :within => 3..20 - - attr_accessor :name_confirmation -end |