Skip to content

Commit a515299

Browse files
committed
Clean up test-helper
1 parent 8217b2b commit a515299

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

test/helper.rb

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,10 @@
77
require "minitest/autorun"
88
require "shoulda/context"
99

10-
$LOAD_PATH.unshift(File.join(__dir__, "..", "lib"))
11-
$LOAD_PATH.unshift(__dir__)
10+
require_relative "../lib/jekyll-archives"
1211

13-
require "jekyll-archives"
14-
15-
TEST_DIR = __dir__
16-
SOURCE_DIR = File.expand_path("source", TEST_DIR)
17-
DEST_DIR = File.expand_path("destination", TEST_DIR)
12+
SOURCE_DIR = File.expand_path("source", __dir__)
13+
DEST_DIR = File.expand_path("destination", __dir__)
1814

1915
module Minitest
2016
class Test

0 commit comments

Comments
 (0)