Skip to content

Commit 8b0354b

Browse files
author
HD Moore
committed
Fix the SSL boolean test
1 parent 97ccf7e commit 8b0354b

File tree

1 file changed

+1
-1
lines changed
  • spec/support/shared/examples/metasploit/framework/login_scanner

1 file changed

+1
-1
lines changed

spec/support/shared/examples/metasploit/framework/login_scanner/http.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
context "without ssl, with non-default port" do
4141
subject(:http_scanner) { described_class.new(port:0) }
4242
it "should not set ssl" do
43-
expect(http_scanner.ssl).to be_nil
43+
expect(http_scanner.ssl).to be_falsey
4444
expect(http_scanner.port).to eq(0)
4545
end
4646
end

0 commit comments

Comments
 (0)