about summary refs log tree commit diff
path: root/spec
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-09-27 23:12:33 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-09-27 23:12:33 +0200
commite63aebff7a4d978fddd7ed3ddc184ed300843a57 (patch)
tree959e8d048fe049fa8a69e4d0ff8acf3df2426708 /spec
parent45a96e899e96da846dbef0d39d6f02db790fccaa (diff)
Adding landing page
Diffstat (limited to 'spec')
-rw-r--r--spec/controllers/about_controller_spec.rb12
-rw-r--r--spec/helpers/about_helper_spec.rb5
2 files changed, 17 insertions, 0 deletions
diff --git a/spec/controllers/about_controller_spec.rb b/spec/controllers/about_controller_spec.rb
new file mode 100644
index 000000000..54b552b6f
--- /dev/null
+++ b/spec/controllers/about_controller_spec.rb
@@ -0,0 +1,12 @@
+require 'rails_helper'
+
+RSpec.describe AboutController, type: :controller do
+
+  describe "GET #index" do
+    it "returns http success" do
+      get :index
+      expect(response).to have_http_status(:success)
+    end
+  end
+
+end
diff --git a/spec/helpers/about_helper_spec.rb b/spec/helpers/about_helper_spec.rb
new file mode 100644
index 000000000..6efc9f5bd
--- /dev/null
+++ b/spec/helpers/about_helper_spec.rb
@@ -0,0 +1,5 @@
+require 'rails_helper'
+
+RSpec.describe AboutHelper, type: :helper do
+
+end