 
         selected = $gmFilters.getSelectedFiltersList(1, "ns1", filtersData)
         expect(selected.length).to.be.equal(2)
-    )
 
-    it "Generate filters from generic list", inject(($gmFilters) ->
+    it "Generate filters from generic list", ->
         constants = {
             1: {name: "Foo"}
             2: {name: "Bar"}

        expect(result[1].id).to.be.equal("null")
        expect(result[1].count).to.be.equal(5)
        expect(result[1].type).to.be.equal(type)
    )

    it "Store/Retrieve ordering", inject(($gmFilters) ->
        $gmFilters.setOrdering(1, "ns", {orderBy: "owner"})
        result = $gmFilters.getOrdering(1, "ns")
        expect(result.orderBy).to.be.equal("owner")
    )

        expect(result[0].id).to.be.equal(1)
        expect(result[0].count).to.be.equal(5)
        expect(result[0].type).to.be.equal(type)

    it "Generate filters from tags list",  ->
        data = [["tag1",5], ["tag2",6]]
        result = $gmFilters.generateFiltersFromTagsList(data)

