OSDN Git Service

Merge branch 'v04' of git.sourceforge.jp:/gitroot/pettanr/pettanr into v04license
[pettanr/pettanr.git] / spec / models / artist_spec.rb
index 3abe223..4993cbb 100644 (file)
@@ -7,7 +7,9 @@ describe Artist do
     Factory :admin
     @user = Factory( :user_yas)
     @author = @user.author
-    @license = Factory :license
+    @sp = Factory :system_picture
+    @lg = Factory :license_group
+    @license = Factory :license, :license_group_id => @lg.id, :system_picture_id => @sp.id
   end
 
   describe '検証に於いて' do