OSDN Git Service

fix test
[pettanr/pettanr.git] / spec / factories / author.rb
1 # -*- encoding: utf-8 -*-\r
2 FactoryGirl.define do\r
3   factory :author001, :class => Author do |i|\r
4     i.name 'ペン次郎'\r
5     i.user_id 1\r
6   end\r
7   factory :author002, :class => Author do |i|\r
8     i.name 'no name'\r
9     i.user_id 2\r
10   end\r
11   factory :author003, :class => Author do |i|\r
12     i.name 'qqqqqq'\r
13     i.user_id 3\r
14   end\r
15   factory :author004, :class => Author do |i|\r
16     i.name 'やる気満々'\r
17     i.user_id 4\r
18   end\r
19   factory :author005, :class => Author do |i|\r
20     i.name 'z6'\r
21     i.user_id 5\r
22   end\r
23 end\r