about summary refs log tree commit diff
path: root/spec/controllers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-02-22 16:00:20 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-02-22 16:00:20 +0100
commit709c6685a90bb819696566cc9e42e587546d72dc (patch)
tree272783009e0a0c8b13b8003dc4bc4e58f3b0b84b /spec/controllers
parent9c4856bdb11fc9311ab30a97224cee3dfaec492f (diff)
Made some progress
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/atom_controller_spec.rb5
-rw-r--r--spec/controllers/home_controller_spec.rb5
-rw-r--r--spec/controllers/profile_controller_spec.rb12
-rw-r--r--spec/controllers/xrd_controller_spec.rb5
4 files changed, 27 insertions, 0 deletions
diff --git a/spec/controllers/atom_controller_spec.rb b/spec/controllers/atom_controller_spec.rb
new file mode 100644
index 000000000..ec14db007
--- /dev/null
+++ b/spec/controllers/atom_controller_spec.rb
@@ -0,0 +1,5 @@
+require 'rails_helper'
+
+RSpec.describe AtomController, type: :controller do
+
+end
diff --git a/spec/controllers/home_controller_spec.rb b/spec/controllers/home_controller_spec.rb
new file mode 100644
index 000000000..e672b25e4
--- /dev/null
+++ b/spec/controllers/home_controller_spec.rb
@@ -0,0 +1,5 @@
+require 'rails_helper'
+
+RSpec.describe HomeController, type: :controller do
+
+end
diff --git a/spec/controllers/profile_controller_spec.rb b/spec/controllers/profile_controller_spec.rb
new file mode 100644
index 000000000..5904f5140
--- /dev/null
+++ b/spec/controllers/profile_controller_spec.rb
@@ -0,0 +1,12 @@
+require 'rails_helper'
+
+RSpec.describe ProfileController, type: :controller do
+
+  describe "GET #show" do
+    it "returns http success" do
+      get :show
+      expect(response).to have_http_status(:success)
+    end
+  end
+
+end
diff --git a/spec/controllers/xrd_controller_spec.rb b/spec/controllers/xrd_controller_spec.rb
new file mode 100644
index 000000000..03a4b5800
--- /dev/null
+++ b/spec/controllers/xrd_controller_spec.rb
@@ -0,0 +1,5 @@
+require 'rails_helper'
+
+RSpec.describe XrdController, type: :controller do
+
+end