-
Notifications
You must be signed in to change notification settings - Fork 9
loadFixtures does not wait for async call #3
Comments
Are you using a file URL? Or are your tests running off a Web server? |
I'm using the jasmine gem in a non rails, static file environment (but I'd rather use yours as I don't want to introduce query into my tests) |
The code actually uses the following:
You've changed the async parameter from |
You wrote:
But I did not change the code at all. I simply wrote the spec and found the code that was running first. I am not sure why I had this version of code. I'll try the latest and see if that works correctly. Thanks very much for the response. |
Actually, it turns out I'm a complete idiot: in an early version I had the flag backwards (making the call async instead of sync). You probably just need to pull to get the latest version. Sorry about that. |
I've tried Safari and Firefox
I'm using loadFixtures to load html for a jasmine spec.
Here is my spec
Here is my fixture
In debugging the code, the loadFixtures method is returning to the test caller prior to the callback being handled in
The text was updated successfully, but these errors were encountered: