Commit 57c0f5bf authored by Michael Vernier's avatar Michael Vernier

default files for poll model created by redmine_plugin_model script

parent 34a213c2
class Poll < ActiveRecord::Base
unloadable
end
class CreatePolls < ActiveRecord::Migration
def change
create_table :polls do |t|
t.string :question
t.integer :yes
t.integer :no
end
end
end
require File.expand_path('../../test_helper', __FILE__)
class PollTest < ActiveSupport::TestCase
# Replace this with your real tests.
def test_truth
assert true
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment