require File.dirname(__FILE__) + '/helper' describe Frank::TemplateHelpers do include Rack::Test::Methods def app Frank.bootstrap(File.join(File.dirname(__FILE__), 'template')) require File.join(Frank.root, 'helpers') Frank.new do set :environment, :test end end before(:all) do @app = app end it 'render haml and use hello_helper' do template = @app.render('helper_test.haml') template.should == "