File: 0001_Add_LOAD_PATH_for_RSpec

package info (click to toggle)
tdiary-style-gfm 1.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 212 kB
  • sloc: ruby: 681; makefile: 6
file content (18 lines) | stat: -rw-r--r-- 610 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
From: Debian Ruby Extras Maintainers
 <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Date: Thu, 17 Nov 2016 20:04:27 +0900
Subject: Add LOAD_PATH into spec_helper, for Debian package

Signed-off-by: Youhei SASAKI <uwabami@gfd-dennou.org>
---
 spec/spec_helper.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- 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/core_ext'
 require 'tdiary/comment_manager'
 require 'tdiary/referer_manager'