Sha256: 7d70939118d2d51552ef4b0970b3c4cab22978fd904be566ab226499c532f772
Contents?: true
Size: 684 Bytes
Versions: 8
Compression:
Stored size: 684 Bytes
Contents
require 'spec_helper' describe LabTestOrder do before(:each) do @requisition_id = 170420 user = SampleUser @lab_order = LabTestOrder.new(@requisition_id, user) end it "#pdf_requisition" do stub_order_requisition(@requisition_id, medivo_fixture_path("lc_order_with_requisition.xml")) @lab_order.pdf_requisition.read.size.should > 30000 @lab_order.pdf_requisition.close end it "#pdf_result" do stub_order_result(@requisition_id, medivo_fixture_path("lc_order_with_normal_results.xml")) @lab_order.pdf_result.read.size.should > 30000 show_me_the_pdf(@lab_order.pdf_result.pdf, '/tmp/test4.pdf') @lab_order.pdf_result.close end end
Version data entries
8 entries across 8 versions & 1 rubygems