Add tests for the chatbot.
This commit is contained in:
parent
15e9daaf29
commit
f77569aa3d
|
@ -0,0 +1,13 @@
|
|||
# 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
|
Loading…
Reference in New Issue