Sha256: 507d133dee32974a7dbed570a619accaea18d26cd117cd267f188a51e8cfc78f
Contents?: true
Size: 530 Bytes
Versions: 14
Compression:
Stored size: 530 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 SpecAction < Ramaze::Controller map '/' provide :html, :None def index 'Hello, World!' end def bar "yo from bar" end end describe 'Action#render' do it 'works when Action is manually created' do action = SpecAction.resolve('/') action.render.should == 'Hello, World!' end end
Version data entries
14 entries across 14 versions & 3 rubygems