             expect(capitalizeFilter('TaIgA')).to.be.equal('Taiga')
         ))
 
-    describe 'slugify', ->
-        it('should convert a string in a slug', inject((slugifyFilter) ->
-            expect(slugifyFilter('test')).to.be.equal('test')
-            expect(slugifyFilter('Test')).to.be.equal('test')
-            expect(slugifyFilter('test two')).to.be.equal('test-two')
-            expect(slugifyFilter('test_three')).to.be.equal('test-three')
-            expect(slugifyFilter('testñfour')).to.be.equal('testnfour')
-        ))
-
-    describe 'truncate', ->
-        it('should truncate a word', inject((truncateFilter) ->
-            expect(truncateFilter('test of truncation', 20)).to.be.equal('test of truncation')
-            expect(truncateFilter('test of truncation', 10)).to.be.equal('test of...')
-        ))
-
     describe 'sizeFormat', ->
         it('should return the size in human readable format', inject((sizeFormatFilter) ->
             expect(sizeFormatFilter(1000, 1)).to.be.equal('1000.0 bytes')

describe 'filter', ->
    beforeEach(module('taiga.filters'))
    describe 'lowercase', ->
        it('should change the case to all lower case', inject((lowercaseFilter) ->
            expect(lowercaseFilter('TAIGA')).to.be.equal('taiga')

            expect(sizeFormatFilter(2*1024*1024+10, 1)).to.be.equal('2.0 MB')
        ))

    describe 'diff', ->
        it 'should return the same text', inject (diffFilter, $sce) ->
            expect($sce.getTrustedHtml(diffFilter("Sample text", "Sample text"))).to.be.equal(
                                                                    "<span>Sample text</span>")

        it 'should marks the added text', inject (diffFilter, $sce) ->
            expect($sce.getTrustedHtml(diffFilter("Sample text with extra text", "Sample text"))).to.be.equal(
                           "<span>Sample text</span><ins style=\"background:#e6ffe6;\"> with extra text</ins>")

        it 'should marks the deleted text', inject (diffFilter, $sce) ->
            expect($sce.getTrustedHtml(diffFilter("Sample text", "Sample text with extra text"))).to.be.equal(
                           "<span>Sample text</span><del style=\"background:#ffe6e6;\"> with extra text</del>")
