Fixed jasmine spec example