X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=spec%2Fmodels%2Fspeech_balloon_spec.rb;h=395c77eccc699f54a8e3a708c69bda04c7668695;hb=2bd8e046bbbdd6d620af0637c3291cc7d787b0c5;hp=0414328d5898cdc82de4865021658f8f95fa9ccb;hpb=c1ce32fbd93b9412ac557fe4d2e53887708caafd;p=pettanr%2Fpettanr.git diff --git a/spec/models/speech_balloon_spec.rb b/spec/models/speech_balloon_spec.rb index 0414328d..395c77ec 100644 --- a/spec/models/speech_balloon_spec.rb +++ b/spec/models/speech_balloon_spec.rb @@ -4,9 +4,9 @@ require 'spec_helper' describe SpeechBalloon do before do - FactoryGirl.create :admin + @admin = FactoryGirl.create :admin @user = FactoryGirl.create( :user_yas) - @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