Testing exploding quantities on xlsx

dev
Andy Meneely 2015-10-20 22:11:40 -04:00
parent 08381b86f0
commit 88686fd9ea
2 changed files with 7 additions and 0 deletions

View File

@ -106,5 +106,12 @@ describe Squib::Deck do
})
end
it 'explodes quantities' do
expect(Squib.xlsx(explode: 'Qty', file: xlsx_file('explode_quantities.xlsx'))).to eq({
'Name' => ['Zergling', 'Zergling', 'Zergling', 'High Templar'],
'Qty' => %w(3 3 3 1),
})
end
end
end

Binary file not shown.