feat(components): add submodules and tests
[arvados-formula.git] / test / integration / api / controls / services_spec.rb
diff --git a/test/integration/api/controls/services_spec.rb b/test/integration/api/controls/services_spec.rb
new file mode 100644 (file)
index 0000000..26d004c
--- /dev/null
@@ -0,0 +1,16 @@
+# frozen_string_literal: true
+
+control 'arvados api service' do
+  impact 0.5
+  title 'should be running and enabled'
+
+  describe service('nginx') do
+    it { should be_enabled }
+    it { should be_running }
+  end
+
+  describe port(8004) do
+    it { should be_listening }
+    its('processes') { should include 'nginx' }
+  end
+end