Skip to content

Commit 6585a1a

Browse files
committed
Fixed for 1.8.7
1 parent af54a5a commit 6585a1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/rinruby_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@
3939
end
4040
it "should accept :port_width" do
4141
port=38442
42-
port_width=rand(10)
42+
port_width=rand(10)+1
4343
r=RinRuby.new(:port=>port, :port_width=>port_width)
44-
r.port_width.should==port_width
44+
expect(r.port_width).to be == port_width
4545
r.port_number.should satisfy {|v| v>=port and v < port+port_width}
4646
end
4747
end

0 commit comments

Comments
 (0)