Testing exploding quantities on xlsx
parent
08381b86f0
commit
88686fd9ea
|
|
@ -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.
Loading…
Reference in New Issue