Sha256: fdf5e79ca2089c20210c0c11200ad0d3cab03580b13a33f36cfe3986785a18dc
Contents?: true
Size: 529 Bytes
Versions: 5
Compression:
Stored size: 529 Bytes
Contents
# Copyright (c) 2009 Michael Fellinger m.fellinger@gmail.com # All files in this distribution are subject to the terms of the MIT 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
5 entries across 5 versions & 1 rubygems