File: 0002-spec-spec_helper.rb-remove-unecessary-require.patch

package info (click to toggle)
ruby-text-table 1.2.4-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 272 kB
  • sloc: ruby: 805; makefile: 5
file content (21 lines) | stat: -rw-r--r-- 627 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Antonio Terceiro <terceiro@softwarelivre.org>
Date: Tue, 15 Nov 2016 18:55:56 -0300
Subject: spec/spec_helper.rb: remove unecessary require

Under RSpec 3, this generates a warning
---
 spec/spec_helper.rb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 557ceb6..9973f9b 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -2,7 +2,6 @@ $LOAD_PATH.unshift(File.dirname(__FILE__))
 $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
 require 'text-table'
 require 'rspec'
-require 'rspec/autorun'
 
 def deindent(table)
   table.gsub(/^\s*/, '')