# Copyright (c) 2006 Michael Fellinger m.fellinger@gmail.com # All files in this distribution are subject to the terms of the Ruby license. require 'spec/helper' class BaseController < Ramaze::Controller def test() 'test' end end class MainController < BaseController engine :None end describe 'Controller' do behaves_like 'http' ramaze it 'should allow sub-classing MainController' do get('/test').body.should == 'test' end end