Add curl test to beaker tests
With the Apache compatibility fixed[1], we can add a curl test to ensure the site functions properly. [1] https://review.opendev.org/659436 Change-Id: I3bc4a2d96ea6483119a504a1d50bf92357de254d
This commit is contained in:
parent
45e3a2909d
commit
647c96d268
|
@ -12,7 +12,7 @@ $redis_max_memory = '256m'
|
|||
$redis_bind = '127.0.0.1'
|
||||
$redis_password = 's3cr3t'
|
||||
|
||||
$site_name = 'askbot-dev.local'
|
||||
$site_name = 'localhost'
|
||||
|
||||
$solr_version = '4.10.4'
|
||||
|
||||
|
|
|
@ -28,4 +28,7 @@ describe 'puppet-askbot:: manifest', :if => ['debian', 'ubuntu'].include?(os[:fa
|
|||
apply_manifest(init_puppet_manifest, catch_changes: true)
|
||||
end
|
||||
|
||||
describe command('curl -i -L -k http://localhost') do
|
||||
its(:stdout) { should contain('<title>Questions - My site</title>') }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue