File: 0001-spec-integration_helper-remove-unused-variable.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 (25 lines) | stat: -rw-r--r-- 843 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
22
23
24
25
From: Antonio Terceiro <terceiro@softwarelivre.org>
Date: Tue, 15 Nov 2016 18:54:48 -0300
Subject: spec/integration_helper: remove unused variable

Under RSpec 3, probably due to some change in the order that the specs
are executed and/or loaded, that variable ends up influencing
spec/cell_spec.rb, and making one test fail. Also, @table is never used
in spec/integration/*.rb

Fixes #14
---
 spec/integration_helper.rb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/spec/integration_helper.rb b/spec/integration_helper.rb
index 05b9325..a4ba2de 100644
--- a/spec/integration_helper.rb
+++ b/spec/integration_helper.rb
@@ -8,6 +8,5 @@ RSpec.configure do |config|
             %w( aaa  bbbb c    dd   ),
     ]
     @foot = %w( aaaa b    cc   ddd  )
-    @table = Text::Table.new :rows => @rows, :head => @head, :foot => @foot
   end
 end