OSDN Git Service

miss edit importer
[pettanr/pettanr.git] / spec / factories.rb
index 2f449d2..84ff1ee 100644 (file)
@@ -36,6 +36,13 @@ Factory.define :artist_yas, :class => Artist do |artist|
 #  artist.association :author_yas
 end
 
+Factory.define :license_group, :class => LicenseGroup do |license_group|
+  license_group.name 'pettan_public_01'
+  license_group.classname 'PettanPublicLicense'
+  license_group.caption 'pettan public 0.1'
+  license_group.url 'http://test.lc/'
+end
+
 Factory.define :license, :class => License do |license|
   license.name 'peta2.5'
   license.url 'http://test.lc/'