]> git.openstreetmap.org Git - chef.git/blobdiff - test/integration/web-frontend/serverspec/rails_spec.rb
Add tests for web cookbook
[chef.git] / test / integration / web-frontend / serverspec / rails_spec.rb
diff --git a/test/integration/web-frontend/serverspec/rails_spec.rb b/test/integration/web-frontend/serverspec/rails_spec.rb
new file mode 100644 (file)
index 0000000..3c4c194
--- /dev/null
@@ -0,0 +1,14 @@
+require "serverspec"
+
+# Required by serverspec
+set :backend, :exec
+
+describe service("api-statistics") do
+  it { should be_enabled }
+  it { should be_running }
+end
+
+describe service("rails-jobs@mailers") do
+  it { should be_enabled }
+  it { should be_running }
+end