\r
describe '閲覧許可に於いて' do\r
before do\r
- @comic = FactoryGirl.create :comic, :author_id => @author.id\r
+ @scroll = FactoryGirl.create :scroll, :author_id => @author.id\r
@panel = FactoryGirl.create :panel, :author_id => @author.id\r
- @story = FactoryGirl.create :story, :author_id => @author.id, :comic_id => @comic.id, :panel_id => @panel.id\r
+ @scroll_panel = FactoryGirl.create :scroll_panel, :author_id => @author.id, :scroll_id => @scroll.id, :panel_id => @panel.id\r
end\r
context 'オープンモードのとき' do\r
before do\r
\r
describe '削除に於いて' do\r
before do\r
- @comic = FactoryGirl.create :comic, :author_id => @author.id\r
+ @scroll = FactoryGirl.create :scroll, :author_id => @author.id\r
@panel = FactoryGirl.create :panel, :author_id => @author.id, :publish => 1\r
@pp = FactoryGirl.create :panel_picture, :panel_id => @panel.id, :t => 1, :width => @p.width, :height => @p.height\r
@sb = @panel.speech_balloons.build(\r