FactoryGirl.define do
factory :game_output, :class => 'GameOutputs' do
code 1
msg "MyText"
out_put "MyText"
end