OSDN Git Service

fix test
[pettanr/pettanr.git] / spec / factories / license_group.rb
1 # -*- encoding: utf-8 -*-\r
2 FactoryGirl.define do\r
3   factory :license_group001, :class => LicenseGroup do |i|\r
4     i.name 'CreativeCommonsV30License@us'\r
5     i.module_name 'PettanrCreativeCommonsV30Licenses'\r
6     i.caption 'Creative Commons 3.0'\r
7     i.url 'http://creativecommons.org/'\r
8   end\r
9   factory :license_group002, :class => LicenseGroup do |i|\r
10     i.name 'PettanCommonsV01License@pettanr'\r
11     i.module_name 'PettanrPettanCommonsV01Licenses'\r
12     i.caption 'Pettan Commons 0.1'\r
13     i.url 'http://sourceforge.jp/projects/pettanr/wiki/PettanCommons'\r
14   end\r
15   factory :license_group003, :class => LicenseGroup do |i|\r
16     i.name 'PettanProtected01License@pettanr'\r
17     i.module_name 'PettanrPettanProtectedV01Licenses'\r
18     i.caption 'Pettan Protected 0.1'\r
19     i.url 'https://github.com/yasushiito/pettanr_ppro_v01_licenses/wiki'\r
20   end\r
21   factory :license_group004, :class => LicenseGroup do |i|\r
22     i.name 'PettanPublicV01License@pettanr'\r
23     i.module_name 'PettanrPettanPublicV01Licenses'\r
24     i.caption 'Pettan Public 0.1'\r
25     i.url 'https://github.com/yasushiito/pettanr_ppub_v01_licenses/wiki'\r
26   end\r
27   factory :license_group005, :class => LicenseGroup do |i|\r
28     i.name 'PublicDomainV01License@pettanr'\r
29     i.module_name 'PettanrPublicDomainV01Licenses'\r
30     i.caption 'Public Domain 0.1'\r
31     i.url 'https://github.com/yasushiito/pettanr_pd_v01_licenses/wiki'\r
32   end\r
33   factory :license_group006, :class => LicenseGroup do |i|\r
34     i.name 'UnknownV01License@pettanr'\r
35     i.module_name 'PettanrUnknownV01Licenses'\r
36     i.caption 'Unknown 0.1'\r
37     i.url 'https://github.com/yasushiito/pettanr_unknown_v01_licenses/wiki'\r
38   end\r
39   factory :license_group007, :class => LicenseGroup do |i|\r
40     i.name 'PettanCommonsV01Licenses@pettanr'\r
41     i.module_name 'PettanrPettanCommonsV01Licenses'\r
42     i.caption 'Pettan Commons 0.1'\r
43     i.url 'http://sourceforge.jp/projects/pettanr/wiki/PettanCommons'\r
44   end\r
45   factory :license_group008, :class => LicenseGroup do |i|\r
46     i.name 'CreativeCommonsV30Licenses@us'\r
47     i.module_name 'PettanrCreativeCommonsV30Licenses'\r
48     i.caption 'Creative Commons 3.0'\r
49     i.url 'http://creativecommons.org/'\r
50   end\r
51   factory :license_group009, :class => LicenseGroup do |i|\r
52     i.name 'PettanProtected01Licenses@pettanr'\r
53     i.module_name 'PettanrPettanProtectedV01Licenses'\r
54     i.caption 'Pettan Protected 0.1'\r
55     i.url 'https://github.com/yasushiito/pettanr_ppro_v01_licenses/wiki'\r
56   end\r
57   factory :license_group010, :class => LicenseGroup do |i|\r
58     i.name 'PettanPublicV01Licenses@pettanr'\r
59     i.module_name 'PettanrPettanPublicV01Licenses'\r
60     i.caption 'Pettan Public 0.1'\r
61     i.url 'https://github.com/yasushiito/pettanr_ppub_v01_licenses/wiki'\r
62   end\r
63   factory :license_group011, :class => LicenseGroup do |i|\r
64     i.name 'PublicDomainV01Licenses@pettanr'\r
65     i.module_name 'PettanrPublicDomainV01Licenses'\r
66     i.caption 'Public Domain 0.1'\r
67     i.url 'https://github.com/yasushiito/pettanr_pd_v01_licenses/wiki'\r
68   end\r
69   factory :license_group012, :class => LicenseGroup do |i|\r
70     i.name 'UnknownV01Licenses@pettanr'\r
71     i.module_name 'PettanrUnknownV01Licenses'\r
72     i.caption 'Unknown 0.1'\r
73     i.url 'https://github.com/yasushiito/pettanr_unknown_v01_licenses/wiki'\r
74   end\r
75 end\r