Sha256: 9298382aa693c500546078f66d3ff7f2b4383ae7ff282c7cf040a36c4e44cc28
Contents?: true
Size: 454 Bytes
Versions: 11
Compression:
Stored size: 454 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/helper') describe "Rendering Extensions" do describe 'for haml' do it 'should render haml_tag correctly' do skip unless Padrino::Helpers::OutputHelpers.handlers[:haml].to_s == "Padrino::Helpers::OutputHelpers::HamlHandler" mock_app do get('/') { render :haml, '-haml_tag :div'} end get '/' assert_match '<div></div>', last_response.body end end end
Version data entries
11 entries across 11 versions & 1 rubygems