Sha256: e9daaaee74e44c156788ea7b5b91220c42741d66ef7f903fba148e3be913ed22
Contents?: true
Size: 459 Bytes
Versions: 6
Compression:
Stored size: 459 Bytes
Contents
# 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
Version data entries
6 entries across 6 versions & 3 rubygems