mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-31 03:59:51 +08:00
fix failing specs
This commit is contained in:
parent
fca01bd54f
commit
32d2d218ba
1 changed files with 8 additions and 2 deletions
|
@ -46,10 +46,16 @@ describe RepositoryZipExport, type: :background_job do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
describe '#generate_zip/2' do
|
describe '#generate_zip/2' do
|
||||||
let(:params) do
|
let(:params) do
|
||||||
{ header_ids: ['-1', '-2', '4', '3', '-3', '-5', '-4'], row_ids: @row_ids }
|
{ header_ids: ['-1',
|
||||||
|
'-2',
|
||||||
|
sample_group_column.id.to_s,
|
||||||
|
custom_column.id.to_s,
|
||||||
|
'-3',
|
||||||
|
'-5',
|
||||||
|
'-4'],
|
||||||
|
row_ids: @row_ids }
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'generates a new zip export object' do
|
it 'generates a new zip export object' do
|
||||||
|
|
Loading…
Reference in a new issue