# -*- encoding: utf-8 -*-\r
FactoryGirl.define do\r
- factory :story_sheet001, :class => StorySheet do |i|\r
- i.story_id 1\r
- i.sheet_id 1\r
- i.t 1\r
- i.author_id 1\r
- end\r
- factory :story_sheet002, :class => StorySheet do |i|\r
- i.story_id 1\r
- i.sheet_id 3\r
- i.t 0\r
- i.author_id 1\r
- end\r
- factory :story_sheet003, :class => StorySheet do |i|\r
- i.story_id 2\r
- i.sheet_id 4\r
- i.t 1\r
- i.author_id 1\r
- end\r
- factory :story_sheet004, :class => StorySheet do |i|\r
- i.story_id 2\r
- i.sheet_id 5\r
- i.t 0\r
- i.author_id 1\r
- end\r
- factory :story_sheet005, :class => StorySheet do |i|\r
- i.story_id 4\r
- i.sheet_id 4\r
- i.t 0\r
- i.author_id 1\r
- end\r
- factory :story_sheet006, :class => StorySheet do |i|\r
- i.story_id 4\r
- i.sheet_id 6\r
- i.t 1\r
- i.author_id 1\r
- end\r
- factory :story_sheet007, :class => StorySheet do |i|\r
- i.story_id 5\r
- i.sheet_id 6\r
- i.t 0\r
- i.author_id 1\r
- end\r
- factory :story_sheet008, :class => StorySheet do |i|\r
- i.story_id 5\r
- i.sheet_id 5\r
- i.t 1\r
- i.author_id 1\r
- end\r
- factory :story_sheet009, :class => StorySheet do |i|\r
- i.story_id 8\r
- i.sheet_id 7\r
- i.t 0\r
- i.author_id 1\r
- end\r
- factory :story_sheet010, :class => StorySheet do |i|\r
- i.story_id 8\r
- i.sheet_id 7\r
- i.t 1\r
- i.author_id 1\r
- end\r
- factory :story_sheet011, :class => StorySheet do |i|\r
- i.story_id 8\r
- i.sheet_id 7\r
- i.t 2\r
- i.author_id 1\r
- end\r
- factory :story_sheet012, :class => StorySheet do |i|\r
- i.story_id 8\r
- i.sheet_id 7\r
- i.t 3\r
- i.author_id 1\r
- end\r
- factory :story_sheet013, :class => StorySheet do |i|\r
- i.story_id 9\r
- i.sheet_id 3\r
- i.t 1\r
- i.author_id 1\r
- end\r
- factory :story_sheet014, :class => StorySheet do |i|\r
- i.story_id 9\r
- i.sheet_id 4\r
- i.t 0\r
- i.author_id 1\r
- end\r
- factory :story_sheet015, :class => StorySheet do |i|\r
- i.story_id 9\r
- i.sheet_id 5\r
- i.t 2\r
- i.author_id 1\r
+ factory :story_sheet_plain, :class => StorySheet do |i|\r
end\r
end\r