File: 0001-Add_LOAD_PATH_for_RSpec.patch

package info (click to toggle)
tdiary-style-rd 0.0.3-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 200 kB
  • sloc: ruby: 491; makefile: 5
file content (21 lines) | stat: -rw-r--r-- 710 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: Debian Ruby Extras Maintainers
 <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Date: Tue, 5 Jan 2016 18:56:50 +0900
Subject: Add LOAD_PATH '/usr/share/tdiary/lib' for RSpec
Forwarded: not-needed

Signed-off-by: Youhei SASAKI <uwabami@gfd-dennou.org>
---
 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 a9e4745..a03e62a 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,4 +1,4 @@
-$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
+$LOAD_PATH.unshift File.expand_path('/usr/share/tdiary/lib')
 require 'tdiary/comment_manager'
 require 'tdiary/referer_manager'
 require 'tdiary/style'