File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
spec/lib/metasploit/framework Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 24
24
it { is_expected . not_to include Metasploit ::Framework ::LoginScanner ::HTTP }
25
25
end
26
26
27
- [ 139 , 445 ] . each do |foo |
28
- context "with port #{ foo } " do
29
- let ( :port ) { foo }
30
27
31
- it { is_expected . to include Metasploit ::Framework ::LoginScanner ::SMB }
32
- it { is_expected . not_to include Metasploit ::Framework ::LoginScanner ::HTTP }
33
- it { is_expected . not_to include Metasploit ::Framework ::LoginScanner ::VNC }
34
- end
28
+ context "with port 445" do
29
+ let ( :port ) { foo }
30
+
31
+ it { is_expected . to include Metasploit ::Framework ::LoginScanner ::SMB }
32
+ it { is_expected . not_to include Metasploit ::Framework ::LoginScanner ::HTTP }
33
+ it { is_expected . not_to include Metasploit ::Framework ::LoginScanner ::VNC }
35
34
end
36
35
36
+
37
37
context "with name 'http'" do
38
38
let ( :name ) { 'http' }
39
39
You can’t perform that action at this time.
0 commit comments