@sp = FactoryGirl.create :system_picture
@lg = FactoryGirl.create :license_group
@license = FactoryGirl.create :license, :license_group_id => @lg.id, :system_picture_id => @sp.id
- @color = FactoryGirl.create :color
@user = FactoryGirl.create( :user_yas)
@author = FactoryGirl.create :author, :user_id => @user.id
@artist = FactoryGirl.create :artist_yas, :author_id => @author.id
FactoryGirl.attributes_for(:speech_balloon, :panel_id => @panel.id, :speech_balloon_template_id => @sbt.id, :t => 0)
)
@gc = @panel.ground_colors.create(
- FactoryGirl.attributes_for(:ground_color, :panel_id => @panel.id, :color_id => @color.id)
+ FactoryGirl.attributes_for(:ground_color, :panel_id => @panel.id)
)
@gp = @panel.ground_pictures.create(
FactoryGirl.attributes_for(:ground_picture, :panel_id => @panel.id, :picture_id => @p.id)
)
- @pc = @panel.panel_colors.create(
- FactoryGirl.attributes_for(:panel_color, :panel_id => @panel.id, :code => 0xff0000)
- )
@panel.reload
@comic = FactoryGirl.create :comic, :author_id => @author.id
@story = FactoryGirl.create :story, :author_id => @author.id, :comic_id => @comic.id, :panel_id => @panel.id