当我尝试运行我的jasmine规范时,我得到
TypeError: jasmine.getEnv().currentSpec is null in
http://localhost:8888/__JASMINE_ROOT__/jasmine.js (line 498)
不知道为什么,甚至不确定从哪里开始寻找。
第498行是:
return jasmine.getEnv().currentSpec.expect(actual);
我已经做了几个月的jasmine了,但不是在这个项目上。我以前从来没有见过这样的事情。
那么,我该从哪里开始呢?
(这是rails 3.x项目中的jasmine gem )
https://stackoverflow.com/questions/10970809
复制相似问题