File: removing-relative-require.patch

package info (click to toggle)
ruby-batch-loader 2.0.1%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 244 kB
  • sloc: ruby: 767; makefile: 6; sh: 4
file content (19 lines) | stat: -rw-r--r-- 430 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
From: Manas Kashyap <manaskashyaptech@gmail.com>
Date: Mon, 24 Jun 2019 10:35:48 +0530
Subject: Remove relative require to fix test

---
 spec/spec_helper.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -5,7 +5,7 @@
   Coveralls.wear!
 end
 
-require_relative "../lib/batch_loader"
+require "batch_loader"
 
 require "graphql"
 require_relative "./fixtures/models"