OSDN Git Service

t#30200:update i18n devise
[pettanr/pettanr.git] / spec / controllers / panel_colors_controller_spec.rb
index 285d2f4..4fcd560 100644 (file)
@@ -9,7 +9,7 @@ describe PanelColorsController do
     @sp = FactoryGirl.create :system_picture
     @lg = FactoryGirl.create :license_group, :name => 'peta'
     @license = FactoryGirl.create :license, :license_group_id => @lg.id, :system_picture_id => @sp.id
-    @author = @user.author
+    @author = FactoryGirl.create :author, :user_id => @user.id
     @artist = FactoryGirl.create :artist_yas, :author_id => @author.id
     @panel = FactoryGirl.create :panel, :author_id => @author.id
   end