OSDN Git Service
(root)
/
pettanr
/
pettanr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add Picture
[pettanr/pettanr.git]
/
spec
/
factories.rb
diff --git
a/spec/factories.rb
b/spec/factories.rb
index
09f4cf2
..
89213cd
100644
(file)
--- a/
spec/factories.rb
+++ b/
spec/factories.rb
@@
-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