mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-07-01 01:06:05 +02:00
14 lines
356 B
Ruby
14 lines
356 B
Ruby
# Tests for the custom chatbot
|
|
|
|
describe service('chatbot') do
|
|
it { should be_running }
|
|
it { should be_enabled }
|
|
end
|
|
|
|
# Make sure the landing page comes up
|
|
describe command('curl http://localhost/chat/') do
|
|
its('stdout') { should match /Please enter your name to continue/ }
|
|
end
|
|
|
|
#TODO: Add tests that make sure the chatbot responds to chat messages
|