class InheritsFromAdminController < AdminController
render :text => "foo"
describe InheritsFromAdminController do
# add the route that you need in order to test
match '/foo' => "inherits_from_admin#show"
# re-drawing routes means that you lose any routes you defined in routes.rb
# so you have to add those back here if your controller references them
match '/login' => "sessions/new", :as => login
# be sure to reload routes after the tests run, otherwise all your
# other controller specs will fail
it "requires logged-in users" do