OSDN Git Service

t#30200:update i18n devise
[pettanr/pettanr.git] / spec / controllers / colors_controller_spec.rb
index 40ad641..92375fd 100644 (file)
@@ -6,6 +6,7 @@ describe ColorsController do
   before do
     @admin = FactoryGirl.create :admin
     @user = FactoryGirl.create( :user_yas)
+    @author = FactoryGirl.create :author, :user_id => @user.id
     @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