Sha256: ab25bbbb4bec20cc4a0ad815d8d956173e49878570788caa8566ae088658aca6

Contents?: true

Size: 362 Bytes

Versions: 12

Compression:

Stored size: 362 Bytes

Contents

require File.dirname(__FILE__) + "/../test_helper"

module TagsTests
  class TagTest < ActiveSupport::TestCase
    test 'tag_name uses the class name when no tag_name has been defined on subclass' do
      assert_equal :span, Tags::Span.new.tag_name
    end

    test 'can render an empty tag' do
      assert_html Tags::Span.new.render, 'span'
    end
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
adva-0.2.4 vendor/gems/tags/test/tags/tag_test.rb
adva-0.2.3 vendor/gems/tags/test/tags/tag_test.rb
adva-0.2.2 vendor/gems/tags/test/tags/tag_test.rb
adva-0.2.1 vendor/gems/tags/test/tags/tag_test.rb
adva-0.2.0 vendor/gems/tags/test/tags/tag_test.rb
adva-0.1.4 vendor/gems/tags/test/tags/tag_test.rb
adva-0.1.3 vendor/gems/tags/test/tags/tag_test.rb
adva-0.1.2 vendor/gems/tags/test/tags/tag_test.rb
adva-0.1.1 vendor/gems/tags/test/tags/tag_test.rb
adva-0.1.0 vendor/gems/tags/test/tags/tag_test.rb
adva_cms-0.0.1 vendor/gems/tags/test/tags/tag_test.rb
adva-0.0.1 adva_cms/vendor/gems/tags/test/tags/tag_test.rb