fixed jasmine spec