"use strict";

describe("snNumberString", function() {
    var scope, rootScope, filter;

    beforeEach(module("thisissoon.nav"));

    beforeEach(inject(function ($rootScope, $filter, $injector) {
        scope = $rootScope.$new();

        rootScope = $rootScope;

        filter = $filter("snNumberString");

    }));

    it("should return test representation of numbers between 1 and 10", function(){

        var numberStrings = ["zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten"];

        for(var i = 1; i<=10; i++){
            var result = filter(i);
            expect(result).toEqual(numberStrings[i]);
        }
    });

});

@@ -340,17 +340,17 @@
 eturn te
-s
+x
 t repres

correct test description