Skip to content

Commit 304a74b

Browse files
committed
changed teardown method short form to explicit method call to be able to run test cases with ruby 2.1.1
1 parent 41d9e3e commit 304a74b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_helper.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ def set_file_paths
2424
@wdir = create_temp_repo(@wdir_dot)
2525
end
2626

27-
teardown
27+
def teardown
28+
git_teardown
29+
end
2830
def git_teardown
2931
if @tmp_path
3032
FileUtils.rm_r(@tmp_path)

0 commit comments

Comments
 (0)