end
describe port(80) do
- it { should be_listening }
+ it { should be_listening.with("tcp") }
end
describe port(443) do
- it { should be_listening }
+ it { should be_listening.with("tcp") }
end
end
describe port(53) do
- it { should be_listening }
+ it { should be_listening.with("udp") }
+ it { should be_listening.with("tcp") }
end
end
describe port(80) do
- it { should be_listening }
+ it { should be_listening.with("tcp") }
end
describe port(443) do
- it { should be_listening }
+ it { should be_listening.with("tcp") }
end
end
describe port(25) do
- it { should be_listening }
+ it { should be_listening.with("tcp") }
end
end
describe port(80) do
- it { should be_listening }
+ it { should be_listening.with("tcp") }
end
describe port(443) do
- it { should be_listening }
+ it { should be_listening.with("tcp") }
end
end
describe port(3306) do
- it { should be_listening }
+ it { should be_listening.with("tcp") }
end
end
describe port(80) do
- it { should be_listening }
+ it { should be_listening.with("tcp") }
end
describe port(443) do
- it { should be_listening }
+ it { should be_listening.with("tcp") }
end
end
describe port(4949) do
- it { should be_listening }
+ it { should be_listening.with("tcp") }
end
end
describe port(3306) do
- it { should be_listening }
+ it { should be_listening.with("tcp") }
end
end
describe port(80) do
- it { should be_listening }
+ it { should be_listening.with("tcp") }
end
describe port(443) do
- it { should be_listening }
+ it { should be_listening.with("tcp") }
end
end
describe port(783) do
- it { should be_listening }
+ it { should be_listening.with("tcp") }
end