Skip to content

Commit c9d7440

Browse files
author
Stephen von Takach
committed
fix version succeed spec
1 parent 24d5532 commit c9d7440

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

spec/comms_spec.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@
1111
end
1212

1313
it "succeeds when passed a supported TLS version" do
14-
expect {
15-
RubyTls::SSL::Box.new(false, nil, version: :TLS1_2)
16-
}.to raise_error(/is unsupported/)
14+
RubyTls::SSL::Box.new(false, nil, version: :TLS1_2) if RubyTls::SSL::VERSION_SUPPORTED
1715
end
1816

1917
it "should be able to send and receive encrypted comms" do

0 commit comments

Comments
 (0)