You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason is that the variable @table used is not the one defined in the before(:each) block, but the one constructed from the integration tests, with a,b,c,d, which doesn't have a special colspan value.
A possible easy workaround is just to rename the variable of this test to something like @tab or @t.
The text was updated successfully, but these errors were encountered:
terceiro
added a commit
to terceiro/text-table
that referenced
this issue
Nov 15, 2016
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
Fixesaptinio#14
This happens because on Debian we are using RSpec 3, and the test suite is not really ready for that. I just sent a PR (#15) that ports the test suite to RSpec 3.
Hi,
running the specs with RSpec 3.5 gives a failure:
See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840824
The reason is that the variable
@table
used is not the one defined in the before(:each) block, but the one constructed from the integration tests, with a,b,c,d, which doesn't have a special colspan value.A possible easy workaround is just to rename the variable of this test to something like
@tab
or@t
.The text was updated successfully, but these errors were encountered: