# -*- encoding: utf-8 -*-\r
FactoryGirl.define do\r
- factory :comic_story001, :class => ComicStory do |i|\r
- i.comic_id 1\r
- i.story_id 1\r
- i.t 0\r
- i.author_id 1\r
- end\r
- factory :comic_story002, :class => ComicStory do |i|\r
- i.comic_id 2\r
- i.story_id 2\r
- i.t 0\r
- i.author_id 1\r
- end\r
- factory :comic_story003, :class => ComicStory do |i|\r
- i.comic_id 2\r
- i.story_id 3\r
- i.t 1\r
- i.author_id 1\r
- end\r
- factory :comic_story004, :class => ComicStory do |i|\r
- i.comic_id 2\r
- i.story_id 4\r
- i.t 2\r
- i.author_id 1\r
- end\r
- factory :comic_story005, :class => ComicStory do |i|\r
- i.comic_id 7\r
- i.story_id 5\r
- i.t 2\r
- i.author_id 1\r
- end\r
- factory :comic_story006, :class => ComicStory do |i|\r
- i.comic_id 7\r
- i.story_id 2\r
- i.t 1\r
- i.author_id 1\r
- end\r
- factory :comic_story007, :class => ComicStory do |i|\r
- i.comic_id 7\r
- i.story_id 3\r
- i.t 0\r
- i.author_id 1\r
- end\r
- factory :comic_story008, :class => ComicStory do |i|\r
- i.comic_id 8\r
- i.story_id 4\r
- i.t 3\r
- i.author_id 1\r
- end\r
- factory :comic_story009, :class => ComicStory do |i|\r
- i.comic_id 8\r
- i.story_id 3\r
- i.t 2\r
- i.author_id 1\r
- end\r
- factory :comic_story010, :class => ComicStory do |i|\r
- i.comic_id 8\r
- i.story_id 2\r
- i.t 1\r
- i.author_id 1\r
- end\r
- factory :comic_story011, :class => ComicStory do |i|\r
- i.comic_id 8\r
- i.story_id 5\r
- i.t 0\r
- i.author_id 1\r
+ factory :comic_story_plain, :class => ComicStory do |i|\r
end\r
end\r