OSDN Git Service

fix test
[pettanr/pettanr.git] / spec / factories / story_sheet.rb
1 # -*- encoding: utf-8 -*-\r
2 FactoryGirl.define do\r
3   factory :story_sheet001, :class => StorySheet do |i|\r
4     i.story_id 1\r
5     i.sheet_id 1\r
6     i.t 1\r
7     i.author_id 1\r
8   end\r
9   factory :story_sheet002, :class => StorySheet do |i|\r
10     i.story_id 1\r
11     i.sheet_id 3\r
12     i.t 0\r
13     i.author_id 1\r
14   end\r
15   factory :story_sheet003, :class => StorySheet do |i|\r
16     i.story_id 2\r
17     i.sheet_id 4\r
18     i.t 1\r
19     i.author_id 1\r
20   end\r
21   factory :story_sheet004, :class => StorySheet do |i|\r
22     i.story_id 2\r
23     i.sheet_id 5\r
24     i.t 0\r
25     i.author_id 1\r
26   end\r
27   factory :story_sheet005, :class => StorySheet do |i|\r
28     i.story_id 4\r
29     i.sheet_id 4\r
30     i.t 0\r
31     i.author_id 1\r
32   end\r
33   factory :story_sheet006, :class => StorySheet do |i|\r
34     i.story_id 4\r
35     i.sheet_id 6\r
36     i.t 1\r
37     i.author_id 1\r
38   end\r
39   factory :story_sheet007, :class => StorySheet do |i|\r
40     i.story_id 5\r
41     i.sheet_id 6\r
42     i.t 0\r
43     i.author_id 1\r
44   end\r
45   factory :story_sheet008, :class => StorySheet do |i|\r
46     i.story_id 5\r
47     i.sheet_id 5\r
48     i.t 1\r
49     i.author_id 1\r
50   end\r
51   factory :story_sheet009, :class => StorySheet do |i|\r
52     i.story_id 8\r
53     i.sheet_id 7\r
54     i.t 0\r
55     i.author_id 1\r
56   end\r
57   factory :story_sheet010, :class => StorySheet do |i|\r
58     i.story_id 8\r
59     i.sheet_id 7\r
60     i.t 1\r
61     i.author_id 1\r
62   end\r
63   factory :story_sheet011, :class => StorySheet do |i|\r
64     i.story_id 8\r
65     i.sheet_id 7\r
66     i.t 2\r
67     i.author_id 1\r
68   end\r
69   factory :story_sheet012, :class => StorySheet do |i|\r
70     i.story_id 8\r
71     i.sheet_id 7\r
72     i.t 3\r
73     i.author_id 1\r
74   end\r
75   factory :story_sheet013, :class => StorySheet do |i|\r
76     i.story_id 9\r
77     i.sheet_id 3\r
78     i.t 1\r
79     i.author_id 1\r
80   end\r
81   factory :story_sheet014, :class => StorySheet do |i|\r
82     i.story_id 9\r
83     i.sheet_id 4\r
84     i.t 0\r
85     i.author_id 1\r
86   end\r
87   factory :story_sheet015, :class => StorySheet do |i|\r
88     i.story_id 9\r
89     i.sheet_id 5\r
90     i.t 2\r
91     i.author_id 1\r
92   end\r
93 end\r