tiny 0.2.4 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/tiny/tag.rb +1 -1
- data/lib/tiny/version.rb +1 -1
- data/spec/helpers_spec.rb +2 -0
- metadata +1 -1
    
        data/lib/tiny/tag.rb
    CHANGED
    
    
    
        data/lib/tiny/version.rb
    CHANGED
    
    
    
        data/spec/helpers_spec.rb
    CHANGED
    
    | @@ -226,6 +226,7 @@ describe 'markup helpers' do | |
| 226 226 | 
             
                    describe tag_name do
         | 
| 227 227 | 
             
                      it 'sould autoclose' do
         | 
| 228 228 | 
             
                        tag(tag_name).should == "<#{tag_name} />"
         | 
| 229 | 
            +
                        tag(tag_name.to_sym).should == "<#{tag_name} />"
         | 
| 229 230 | 
             
                      end
         | 
| 230 231 |  | 
| 231 232 | 
             
                      it 'should omit content' do
         | 
| @@ -253,6 +254,7 @@ describe 'markup helpers' do | |
| 253 254 | 
             
                  Tiny::HTML.content_tags.each do |tag_name|
         | 
| 254 255 | 
             
                    it "should not autoclose #{tag_name} if not empty" do
         | 
| 255 256 | 
             
                      tag(tag_name).should == "<#{tag_name}></#{tag_name}>"
         | 
| 257 | 
            +
                      tag(tag_name.to_sym).should == "<#{tag_name}></#{tag_name}>"
         | 
| 256 258 | 
             
                    end
         | 
| 257 259 | 
             
                  end
         | 
| 258 260 | 
             
                end
         |