You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 16, 2022. It is now read-only.
When starting with a fresh rails 3.1 project running jasmine-core (1.2.0.rc1) from master with no jasmine spec files, causes a JavaScript exception in the jasmine.HtmlReporter object at line 87 of jasmine-html.js. This caused me to debug my project configuration, until I added a single spec file with a pending spec.
Here are the contents of the file:
describe("pending", function(){
it("should be pending", function(){
});
});
Jasmine expects at least one "it" function or it blows up. The exception should either be nicer, or preferably it should degrade nicely to a 0 of 0 specs run report. I may patch this, but for now a single spec file with a spec is the workaround.
The text was updated successfully, but these errors were encountered:
When starting with a fresh rails 3.1 project running jasmine-core (1.2.0.rc1) from master with no jasmine spec files, causes a JavaScript exception in the jasmine.HtmlReporter object at line 87 of jasmine-html.js. This caused me to debug my project configuration, until I added a single spec file with a pending spec.
Here are the contents of the file:
describe("pending", function(){
it("should be pending", function(){
});
});
Jasmine expects at least one "it" function or it blows up. The exception should either be nicer, or preferably it should degrade nicely to a 0 of 0 specs run report. I may patch this, but for now a single spec file with a spec is the workaround.
The text was updated successfully, but these errors were encountered: