OSDN Git Service

add Picture
[pettanr/pettanr.git] / spec / factories.rb
index 09f4cf2..89213cd 100644 (file)
@@ -132,6 +132,11 @@ Factory.define :oplg, :class => OriginalPictureLicenseGroup do |oplg|
   oplg.license_group_id 1
 end
 
+Factory.define :standard_license, :class => StandardLicense do |sl|
+  sl.license_id 1
+  sl.artist_name 'no name'
+end
+
 Factory.define :resource_picture, :class => ResourcePicture do |rp|
   rp.ext 'png'
   rp.width 222