added full pending post unit test

This commit is contained in:
albert
2010-02-09 00:44:01 -05:00
parent 07b0e213f3
commit 39424ca52b
14 changed files with 515 additions and 311 deletions

View File

@@ -3,6 +3,9 @@ class CreatePendingPosts < ActiveRecord::Migration
create_table :pending_posts do |t|
t.timestamps
t.column :source, :string
t.column :file_path, :string
t.column :content_type, :string
t.column :rating, :character, :null => false
t.column :uploader_id, :integer, :null => false
t.column :uploader_ip_addr, "inet", :null => false