Sha256: 70bd86920fa8096530b19f042537181ec9ee2fd643a1351f26b7f5291c525c7e
Contents?: true
Size: 499 Bytes
Versions: 14
Compression:
Stored size: 499 Bytes
Contents
# Copyright (c) 2009 Michael Fellinger m.fellinger@gmail.com # All files in this distribution are subject to the terms of the Ruby license. require File.expand_path('../../../../spec/helper', __FILE__) class SpecHello < Ramaze::Controller def index 'automatically mapped' end end describe 'Lonely Controller automap' do behaves_like :rack_test it 'automatically creates an app and maps the controller into it' do get('/').body.should == 'automatically mapped' end end
Version data entries
14 entries across 14 versions & 3 rubygems