File: 0650_replace_require_relative_spec.patch

package info (click to toggle)
ruby-prawn 2.3.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,380 kB
  • sloc: ruby: 15,820; sh: 43; makefile: 20
file content (16 lines) | stat: -rw-r--r-- 394 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Do not use require_relative to lib within spec
Forwarded-Upstream: https://github.com/prawnpdf/prawn/pull/1176
Author: Cédric Boutillier <boutil@debian.org>
Last-Update: 2020-09-07

--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -9,7 +9,7 @@
   end
 end
 
-require_relative '../lib/prawn'
+require 'prawn'
 
 Prawn.debug = true
 Prawn::Fonts::AFM.hide_m17n_warning = true