File: removing-relative-require.patch

package info (click to toggle)
ruby-batch-loader 1.4.1%2Bdfsg.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 264 kB
  • sloc: ruby: 760; makefile: 5; sh: 4
file content (21 lines) | stat: -rw-r--r-- 528 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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(-)

diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 1f9ced8..2f54b24 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -7,7 +7,7 @@ if ENV['CI']
   Coveralls.wear!
 end
 
-require_relative "../lib/batch_loader"
+require "batch_loader"
 
 require "graphql"
 require_relative "./fixtures/models"