-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rejected not available in konacha command line? #13
Comments
Are you using Chai-jQuery as well by any chance? It does some stuff with |
Yeah I am, I will check if that could be the cause, thanks for the pointer! |
without the 'be' word and disabling chai-jquery the error message is the same :-/ |
Grr OK will try to find time to set up this Konacha thing this weekend |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I have the following test:
When I run the suite using
rake konacha:run
the test fails, stating "TypeError: 'undefined' is not a function". When I run the test in the browser, it passes.I don't know where in the test it fails but it looks like the keyword
rejected
has something to do with it. In a test where I testshould.become(@something)
it passes in the CLI and in the browser.So chai-as-promised seems to be loaded correctly.
Any hints what the cause of this failure on the CLI could be?
The text was updated successfully, but these errors were encountered: