jejacks0n / teaspoon

Teaspoon: Javascript test runner for Rails. Use Selenium, BrowserStack, or PhantomJS.
1.43k stars 243 forks source link

Updating to teaspoon 0.8.0 breaks chai contain/include assertions #234

Closed arfl closed 9 years ago

arfl commented 10 years ago

I updated to teaspoon 0.8.0 and use the chai version included in this gem. The included chai version has a bug in it, described here https://github.com/chaijs/chai/issues/239 The chai version 1.9.1 does fix it.

mikepack commented 9 years ago

Thanks for the notice. Going to close this as it's an issue with Chai. In future versions of Teaspoon, we'll allow multiple versions of libraries, so upgrading Teaspoon won't force your hand in upgrading assertion libraries. You can, of course, put any version of Chai in your project's vendor/assets and require them in your spec_helper.coffee.