aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/admin_general_controller_spec.rb
diff options
context:
space:
mode:
authorFrancis Irving <francis@mysociety.org>2009-10-29 17:55:53 +0000
committerFrancis Irving <francis@mysociety.org>2009-10-29 17:55:53 +0000
commitb10b047bd40dad870ec99ad0f786f494b9842465 (patch)
tree5ed2ef7d54718724b91a850af320882f9fbe39b5 /spec/controllers/admin_general_controller_spec.rb
parent7c1c19a4d51db24609c3546426b0d47dbdfb85cc (diff)
Give this the right name.
Diffstat (limited to 'spec/controllers/admin_general_controller_spec.rb')
-rw-r--r--spec/controllers/admin_general_controller_spec.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/controllers/admin_general_controller_spec.rb b/spec/controllers/admin_general_controller_spec.rb
new file mode 100644
index 000000000..cfbd50b55
--- /dev/null
+++ b/spec/controllers/admin_general_controller_spec.rb
@@ -0,0 +1,11 @@
+require File.dirname(__FILE__) + '/../spec_helper'
+
+describe AdminGeneralController, "when viewing front page of admin interface" do
+ integrate_views
+
+ it "should render the front page" do
+ get :index
+ response.should render_template('index')
+ end
+
+end