Преглед изворни кода

Add tests for the mapserver role

Till Klocke пре 9 година
родитељ
комит
921375a067

+ 9 - 0
test/integration/mapserver/serverspec/batman_spec.rb

@@ -0,0 +1,9 @@
+require 'serverspec'
+
+describe package('batctl') do
+  it {should be_installed }
+end
+
+describe kernel_module('batman_adv') do
+  it { should be_loaded }
+end

+ 4 - 4
test/integration/mapserver/serverspec/test_spec.rb

@@ -8,14 +8,14 @@ describe file('/usr/local/bin/alfred-json') do
   it { should be_executable }
 end
 
-describe cron do {
-  it { should should have_entry '* * * * * /srv/ffmap-backend/backend.py -d /srv/ffmap-data -p 14' }
-}
+describe cron do 
+  it { should have_entry '* * * * * /opt/ffmap-backend/backend.py -d /srv/ffmap-data -p 14' }
+end
 
 describe port(80) do
   it { should be_listening.with('tcp6') }
 end
 
 describe port(443) do
-  it { should be_listeing.with('tcp6') }
+  it { should be_listening.with('tcp6') }
 end