Sha256: d912f68ba7eddb4712567145d53827469812e685e7368c91cf92bcecf20deb10

Contents?: true

Size: 332 Bytes

Versions: 30

Compression:

Stored size: 332 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
      mock_app do
        get('/') { render :haml, '-haml_tag :div'}
      end

      get '/'
      assert_match '<div></div>', last_response.body
    end
  end
end

Version data entries

30 entries across 30 versions & 4 rubygems

Version Path
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/padrino-helpers-0.13.3.4/test/test_rendering_extensions.rb
padrino-helpers-0.12.9 test/test_rendering_extensions.rb
padrino-helpers-0.13.3.4 test/test_rendering_extensions.rb
padrino-helpers-0.14.0.2 test/test_rendering_extensions.rb
padrino-helpers-0.14.0.1 test/test_rendering_extensions.rb
padrino-helpers-0.14.0 test/test_rendering_extensions.rb
padrino-helpers-0.14.0.rc2 test/test_rendering_extensions.rb
padrino-helpers-0.14.0.rc1 test/test_rendering_extensions.rb
padrino-helpers-0.13.3.3 test/test_rendering_extensions.rb
padrino-helpers-0.13.3.2 test/test_rendering_extensions.rb
padrino-helpers-0.12.8.1 test/test_rendering_extensions.rb
padrino-helpers-0.13.3.1 test/test_rendering_extensions.rb
padrino-helpers-0.13.3 test/test_rendering_extensions.rb
padrino-helpers-0.12.8 test/test_rendering_extensions.rb
padrino-helpers-0.12.7 test/test_rendering_extensions.rb
padrino-helpers-0.12.6 test/test_rendering_extensions.rb
padrino-helpers-0.13.2 test/test_rendering_extensions.rb
padrino-helpers-0.13.1 test/test_rendering_extensions.rb
padrino-helpers-0.13.1.beta1 test/test_rendering_extensions.rb
padrino-helpers-0.13.0 test/test_rendering_extensions.rb