Sha256: 6dc9089e21086c8f61b6c5ea7b68c4ae86c922a5c08d02289bd1e10b3a308bba

Contents?: true

Size: 146 Bytes

Versions: 41

Compression:

Stored size: 146 Bytes

Contents

FactoryGirl.define do
  factory :question do |f|
    f.sequence(:body){|n| "question_#{n}"}
    f.user_id{FactoryGirl.create(:user).id}
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
enju_question-0.2.0 spec/factories/question.rb
enju_question-0.2.0.beta.4 spec/factories/question.rb
enju_question-0.2.0.beta.3 spec/factories/question.rb
enju_question-0.2.0.beta.2 spec/factories/question.rb
enju_question-0.2.0.beta.1 spec/factories/question.rb
enju_question-0.1.1 spec/factories/question.rb
enju_question-0.1.0 spec/factories/question.rb
enju_question-0.1.0.pre15 spec/factories/question.rb
enju_question-0.1.0.pre14 spec/factories/question.rb
enju_question-0.1.0.pre13 spec/factories/question.rb
enju_question-0.1.0.pre12 spec/factories/question.rb
enju_question-0.1.0.pre11 spec/factories/question.rb
enju_question-0.1.0.pre10 spec/factories/question.rb
enju_question-0.1.0.pre9 spec/factories/question.rb
enju_question-0.1.0.pre8 spec/factories/question.rb
enju_question-0.1.0.pre7 spec/factories/question.rb
enju_question-0.1.0.pre6 spec/factories/question.rb
enju_question-0.1.0.pre5 spec/factories/question.rb
enju_question-0.1.0.pre4 spec/factories/question.rb
enju_question-0.1.0.pre3 spec/factories/question.rb