From 6173e5bfaec44729ecabc2e6e05aa2608a85981f Mon Sep 17 00:00:00 2001 From: Pratik Naik Date: Fri, 20 Mar 2009 22:21:27 +0000 Subject: Add ActiveModel::Validations tests for regular ruby classes --- activemodel/test/schema.rb | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'activemodel/test/schema.rb') diff --git a/activemodel/test/schema.rb b/activemodel/test/schema.rb index f7fe31dc4e..56b824d445 100644 --- a/activemodel/test/schema.rb +++ b/activemodel/test/schema.rb @@ -1,13 +1,14 @@ ActiveRecord::Schema.define do create_table :topics, :force => true do |t| - t.string :title - t.string :author_name - t.text :content - t.boolean :approved, :default => true - t.string :type + t.string :title + t.string :author_name + t.text :content + t.boolean :approved, :default => true + t.string :type end create_table :developers, :force => true do |t| - t.string :name + t.string :name + t.float :salary end end -- cgit v1.2.3