1 # -*- encoding: utf-8 -*-
\r
2 FactoryGirl.define do
\r
3 factory :speech_balloon_template001, :class => SpeechBalloonTemplate do |i|
\r
4 i.name 'circle@pettan.com'
\r
5 i.module_name 'CircleSpeechBalloon'
\r
8 i.system_picture_id 41
\r
9 i.settings '{"speech_balloon":{"quotes":"\u300c \u300d \u300e \u300f","default_width":200,"default_height":200,"default_font_size":1.0,"default_text_align":0,"default_fore_color":0,"default_r":140,"r_step":22.5},"0":{"balloon":{"system_picture_id":25},"speech":{"x_rate":20,"y_rate":20,"width_rate":60,"height_rate":60}},"1":{"balloon":{"system_picture_id":26},"speech":{"x_rate":20,"y_rate":20,"width_rate":60,"height_rate":60}},"2":{"balloon":{"system_picture_id":27},"speech":{"x_rate":20,"y_rate":20,"width_rate":60,"height_rate":60}},"3":{"balloon":{"system_picture_id":28},"speech":{"x_rate":20,"y_rate":20,"width_rate":60,"height_rate":60}},"4":{"balloon":{"system_picture_id":29},"speech":{"x_rate":20,"y_rate":20,"width_rate":60,"height_rate":60}},"5":{"balloon":{"system_picture_id":30},"speech":{"x_rate":20,"y_rate":20,"width_rate":60,"height_rate":60}},"6":{"balloon":{"system_picture_id":31},"speech":{"x_rate":20,"y_rate":20,"width_rate":60,"height_rate":60}},"7":{"balloon":{"system_picture_id":32},"speech":{"x_rate":20,"y_rate":20,"width_rate":60,"height_rate":60}},"8":{"balloon":{"system_picture_id":33},"speech":{"x_rate":20,"y_rate":20,"width_rate":60,"height_rate":60}},"9":{"balloon":{"system_picture_id":34},"speech":{"x_rate":20,"y_rate":20,"width_rate":60,"height_rate":60}},"10":{"balloon":{"system_picture_id":35},"speech":{"x_rate":20,"y_rate":20,"width_rate":60,"height_rate":60}},"11":{"balloon":{"system_picture_id":36},"speech":{"x_rate":20,"y_rate":20,"width_rate":60,"height_rate":60}},"12":{"balloon":{"system_picture_id":37},"speech":{"x_rate":20,"y_rate":20,"width_rate":60,"height_rate":60}},"13":{"balloon":{"system_picture_id":38},"speech":{"x_rate":20,"y_rate":20,"width_rate":60,"height_rate":60}},"14":{"balloon":{"system_picture_id":39},"speech":{"x_rate":20,"y_rate":20,"width_rate":60,"height_rate":60}},"15":{"balloon":{"system_picture_id":40},"speech":{"x_rate":20,"y_rate":20,"width_rate":60,"height_rate":60}}}'
\r
11 factory :speech_balloon_template002, :class => SpeechBalloonTemplate do |i|
\r
12 i.name 'plain@pettan.com'
\r
13 i.module_name 'PlainSpeechBalloon'
\r
16 i.system_picture_id 43
\r
17 i.settings '{"speech_balloon":{"quotes":"\u300c \u300d \u300e \u300f","default_width":150,"default_height":150,"default_font_size":1.0,"default_text_align":0,"default_fore_color":0},"all":{"balloon":{"system_picture_id":42},"speech":{"x_rate":0,"y_rate":0,"width_rate":100,"height_rate":100}}}'
\r
19 factory :speech_balloon_template003, :class => SpeechBalloonTemplate do |i|
\r
20 i.name 'square@pettan.com'
\r
21 i.module_name 'SquareSpeechBalloon'
\r
24 i.system_picture_id 45
\r
25 i.settings '{"speech_balloon":{"quotes":"\u300c \u300d \u300e \u300f","default_width":150,"default_height":150,"default_font_size":1.0,"default_text_align":3,"default_fore_color":0},"all":{"balloon":{"system_picture_id":44},"speech":{"x_rate":5,"y_rate":5,"width_rate":90,"height_rate":90}}}'
\r
27 factory :speech_balloon_template004, :class => SpeechBalloonTemplate do |i|
\r
28 i.name 'test@pettan.com'
\r
29 i.module_name 'TestSpeechBalloon'
\r
32 i.system_picture_id 47
\r
33 i.settings '{"speech_balloon":{"quotes":"\u300c \u300d \u300e \u300f","default_width":150,"default_height":150,"default_font_size":1.0,"default_text_align":3,"default_fore_color":0},"all":{"balloon":{"system_picture_id":46},"speech":{"x_rate":5,"y_rate":5,"width_rate":90,"height_rate":90}}}'
\r