Sha256: fda5b7582bb7d7bf999e0910be42c2a3a03862f443eee4cb81590e1ab7067258

Contents?: true

Size: 277 Bytes

Versions: 15

Compression:

Stored size: 277 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/helper')

describe "Padrino::Helpers" do
  it 'should allow including without registering' do
    class Foo
      include Padrino::Helpers
    end
    assert_equal '<div>bar</div>', Foo.new.content_tag(:div, 'bar')
  end
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
padrino-helpers-0.12.8.1 test/test_helpers.rb
padrino-helpers-0.12.8 test/test_helpers.rb
padrino-helpers-0.12.7 test/test_helpers.rb
padrino-helpers-0.12.6 test/test_helpers.rb
padrino-helpers-0.13.1 test/test_helpers.rb
padrino-helpers-0.13.1.beta1 test/test_helpers.rb
padrino-helpers-0.13.0 test/test_helpers.rb
padrino-helpers-0.13.0.beta3 test/test_helpers.rb
padrino-helpers-0.13.0.beta2 test/test_helpers.rb
padrino-helpers-0.12.5 test/test_helpers.rb
padrino-helpers-0.13.0.beta1 test/test_helpers.rb
padrino-helpers-0.12.4 test/test_helpers.rb
padrino-helpers-0.12.3 test/test_helpers.rb
padrino-helpers-cj-0.12.2 test/test_helpers.rb
padrino-helpers-0.12.2 test/test_helpers.rb