File: Don-t-require-lib-for-tests.patch

package info (click to toggle)
ruby-ffaker 2.20.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,676 kB
  • sloc: ruby: 12,366; makefile: 8; sh: 1
file content (22 lines) | stat: -rw-r--r-- 589 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Daniel Leidert <dleidert@debian.org>
Date: Sat, 20 Nov 2021 13:15:02 +0100
Subject: Don't require lib for tests

Forwarded: not-needed
---
 test/helper.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/helper.rb b/test/helper.rb
index cc07dee..2020479 100644
--- a/test/helper.rb
+++ b/test/helper.rb
@@ -1,7 +1,7 @@
 # frozen_string_literal: true
 
 require 'test/unit'
-require_relative '../lib/ffaker'
+require 'ffaker'
 
 # Helpers for checking if a method is deterministic -- e.g., that the Random
 # results are repeatable given the same random seed.