X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=spec%2Fmodels%2Fground_picture_spec.rb;h=680b5034871bbef5fc36cec8634d2c4d52ee030e;hb=305f415a00ff3da658a5ee77cf966e7f76f8230f;hp=8230ce012dac4f7a26ff738924de72cf62b8a030;hpb=000b5d5ef4f3cf02793ae6a06855b7bd3cd9a78f;p=pettanr%2Fpettanr.git diff --git a/spec/models/ground_picture_spec.rb b/spec/models/ground_picture_spec.rb index 8230ce01..680b5034 100644 --- a/spec/models/ground_picture_spec.rb +++ b/spec/models/ground_picture_spec.rb @@ -536,9 +536,9 @@ describe GroundPicture do @p = FactoryGirl.create :picture, :original_picture_id => @op.id, :license_id => @license.id, :artist_id => @artist.id @rp = FactoryGirl.create :resource_picture, :artist_id => @artist.id, :license_id => @license.id, :original_picture_id => @op.id, :picture_id => @p.id @sbt = FactoryGirl.create :speech_balloon_template - @comic = FactoryGirl.create :comic, :author_id => @author.id, :visible => 1 + @scroll = FactoryGirl.create :scroll, :author_id => @author.id, :visible => 1 @panel = FactoryGirl.create :panel, :author_id => @author.id, :publish => 1 - @story = FactoryGirl.create :story, :author_id => @author.id, :comic_id => @comic.id, :panel_id => @panel.id + @scroll_panel = FactoryGirl.create :scroll_panel, :author_id => @author.id, :scroll_id => @scroll.id, :panel_id => @panel.id @gp = FactoryGirl.create :ground_picture, :panel_id => @panel.id, :picture_id => @p.id end it 'コマを含んでいる' do