aboutsummaryrefslogtreecommitdiffstats
path: root/spec/factories/comments.rb
blob: 1e0861dad907c91e908229a4df2e0f15989f9a80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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