refactor currentSpec to work for Jasmine 2