aboutsummaryrefslogtreecommitdiffstats
path: root/spec/factories/comments.rb
blob: 905d7580f98e662b83b11dbea0293bc1dcff70fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# -*- encoding : utf-8 -*-
FactoryGirl.define do

    factory :comment do
        user
        info_request

        body 'This a wise and helpful annotation.'
        comment_type 'request'

        factory :visible_comment do
            visible true
        end

        factory :hidden_comment do
            visible false
        end
    end
    
end