spec/pdfkit_spec.rb in pdfkit-0.8.2 vs spec/pdfkit_spec.rb in pdfkit-0.8.3

- old
+ new

@@ -384,10 +384,10 @@ end end context "on windows" do before do - allow_any_instance_of(PDFKit).to receive(:host_is_windows?).and_return(true) + allow(PDFKit::OS).to receive(:host_is_windows?).and_return(true) end it "escapes special windows characters" do pdf = PDFKit.new('html', :title => 'hello(world)') expect(pdf.command).to include 'hello^(world^)'