FactoryGirl.define do
  factory :drawing do
    image { Rack::Test::UploadedFile.new("#{Rails.root}/spec/support/factories/sloth.jpg", "image/jpeg") }
    description "Description of the content of this drawing"
    gender "other"
    age 10
    mood_rating 7
    subject_matter "Camp life"
    story "Context of the drawing, e.g. child's back story, cultural notes"
    country "GR"
    status "complete"

    user
  end
end

FactoryGirl.define do
  factory :drawing do
    image { Rack::Test::UploadedFile.new("#{Rails.root}/spec/support/factories/sloth.jpg", "image/jpeg") }
    description "Description of the content of this drawing"
    gender "other"
    age 10
    mood_rating 4
    subject_matter "Camp life"
    story "Context of the drawing, e.g. child's back story, cultural notes"
    country "GR"
    status "complete"

    user
  end
end

Update drawing factory to make sure the mood_rating is between 1-5;
Update drawing factory to make sure the mood_rating is between 1-5;
