1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00
haml--haml/test/haml/runner.rb
nex3 01dad1e2e8 Tests work to the extent they did before reorganization.
git-svn-id: svn://hamptoncatlin.com/haml/branches/1.5dev@187 7063305b-7217-0410-af8c-cdc13e5119b9
2006-12-03 22:37:17 +00:00

15 lines
377 B
Ruby

require 'rubygems'
require 'active_support'
require 'action_view'
require '../../lib/haml/template'
require 'fileutils'
haml_template_engine = Haml::Template.new(ActionView::Base.new)
haml_template_engine.render(File.dirname(__FILE__) + '/templates/standard.haml')
begin
eval(File.read("template_test.rb"))
rescue StandardError => e
puts e.backtrace
puts e.inspect
end