parent
2e37871c14
commit
0b587f7217
@ -0,0 +1,5 @@
|
||||
class RunCodeMessage < ActiveRecord::Base
|
||||
# attr_accessible :title, :body
|
||||
belongs_to :game
|
||||
|
||||
end
|
@ -0,0 +1,11 @@
|
||||
class CreateRunCodeMessages < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :run_code_messages do |t|
|
||||
t.integer :status
|
||||
t.string :message
|
||||
t.references :game
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
mo
|
@ -0,0 +1,5 @@
|
||||
FactoryGirl.define do
|
||||
factory :run_code_message do
|
||||
|
||||
end
|
||||
end
|
@ -0,0 +1,5 @@
|
||||
require 'rails_helper'
|
||||
|
||||
RSpec.describe RunCodeMessage, :type => :model do
|
||||
pending "add some examples to (or delete) #{__FILE__}"
|
||||
end
|
Loading…
Reference in new issue