OSDN Git Service

repair test
[pettanr/pettanr.git] / spec / models / artist_spec.rb
index 42bb737..4a4b83c 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