metasploitable3/chef/cookbooks/metasploitable/test/linux/chatbot.rb
2017-06-13 12:24:44 -05:00

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