spec/arachni/data/framework_spec.rb in arachni-1.5.1 vs spec/arachni/data/framework_spec.rb in arachni-1.6.0
- old
+ new
@@ -164,10 +164,10 @@
subject.dump( dump_directory )
pages = []
Dir["#{dump_directory}/page_queue/*"].each do |page_file|
- pages << Marshal.load( IO.binread( page_file ) )
+ pages << subject.page_queue.unserialize( IO.binread( page_file ) )
end
expect(pages).to eq([page, page])
end
it 'stores #page_queue_total_size to disk' do