test cleanup

dev
Andy Meneely 2019-08-06 12:43:16 -04:00
parent f9c8b37222
commit f638fec87a
1 changed files with 7 additions and 1 deletions

View File

@ -13,7 +13,13 @@ describe Squib::Sprue do
Squib::Sprue::DEFAULTS['crop_line']['overlay'] Squib::Sprue::DEFAULTS['crop_line']['overlay']
) )
expect(tmpl.crop_lines).to eq([]) expect(tmpl.crop_lines).to eq([])
expect(tmpl.cards).to eq([{ 'x' => 50, 'y' => 100, 'rotate' => 0 }]) expect(tmpl.cards).to eq([{
'x' => 50,
'y' => 100,
'rotate' => 0,
'flip_horizontal' => false,
'flip_vertical' => false,
}])
end end
it 'loads from the default templates if none exists' do it 'loads from the default templates if none exists' do