Skip to content

Commit 57afaf6

Browse files
jvazquez-r7kernelsmith
authored andcommitted
undo be_false case
1 parent 60ecf4e commit 57afaf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/lib/metasploit/framework/login_scanner/result_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
context 'when the status code is anything else' do
3737
let(:status) { :connection_error }
3838
it 'returns false' do
39-
expect(login_result.success?).to be_truthy
39+
expect(login_result.success?).to be_false
4040
end
4141
end
4242
end

0 commit comments

Comments
 (0)