aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/admin_controller_spec.rb
diff options
context:
space:
mode:
authorfrancis <francis>2007-10-31 17:25:29 +0000
committerfrancis <francis>2007-10-31 17:25:29 +0000
commit3e3f3d198ff24742b34dd77b6cd88a2417d27976 (patch)
tree2aff1b095e8c4f73232f60fc5cc75eb897f3dffb /spec/controllers/admin_controller_spec.rb
parent3232d3d2566d99f1576492e22376cbb3204781f5 (diff)
Move signin/signup/signout actions from application controller to user controller.
(They were already only being routed to the user controller)
Diffstat (limited to 'spec/controllers/admin_controller_spec.rb')
-rw-r--r--spec/controllers/admin_controller_spec.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/controllers/admin_controller_spec.rb b/spec/controllers/admin_controller_spec.rb
new file mode 100644
index 000000000..5a52d1641
--- /dev/null
+++ b/spec/controllers/admin_controller_spec.rb
@@ -0,0 +1,10 @@
+require File.dirname(__FILE__) + '/../spec_helper'
+
+describe AdminController, "when viewing front page of admin interface" do
+
+ it "should render the front page" do
+ get :index
+ response.should render_template('index')
+ end
+
+end