OSDN Git Service

fix test
[pettanr/pettanr.git] / spec / factories / sheet.rb
1 # -*- encoding: utf-8 -*-\r
2 FactoryGirl.define do\r
3   factory :sheet001, :class => Sheet do |i|\r
4     i.caption '選択肢のリスト'\r
5     i.width 839\r
6     i.height 1191\r
7     i.visible 1\r
8     i.author_id 1\r
9   end\r
10   factory :sheet002, :class => Sheet do |i|\r
11     i.caption '画像を投稿'\r
12     i.width 839\r
13     i.height 1191\r
14     i.visible 1\r
15     i.author_id 1\r
16   end\r
17   factory :sheet003, :class => Sheet do |i|\r
18     i.caption '選択肢のリスト'\r
19     i.width 839\r
20     i.height 1191\r
21     i.visible 1\r
22     i.author_id 1\r
23   end\r
24   factory :sheet004, :class => Sheet do |i|\r
25     i.caption 'ぎょっとする'\r
26     i.width 839\r
27     i.height 1191\r
28     i.visible 1\r
29     i.author_id 1\r
30   end\r
31   factory :sheet005, :class => Sheet do |i|\r
32     i.caption 'そんな馬鹿な'\r
33     i.width 839\r
34     i.height 1191\r
35     i.visible 1\r
36     i.author_id 1\r
37   end\r
38   factory :sheet006, :class => Sheet do |i|\r
39     i.caption '社会でうまくいかず'\r
40     i.width 839\r
41     i.height 1191\r
42     i.visible 1\r
43     i.author_id 1\r
44   end\r
45   factory :sheet007, :class => Sheet do |i|\r
46     i.caption '友人と起業'\r
47     i.width 839\r
48     i.height 1191\r
49     i.visible 0\r
50     i.author_id 1\r
51   end\r
52 end\r