jejacks0n / teaspoon

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

updating default chai style to be consistent with docs #157

Closed tkriplean closed 10 years ago

tkriplean commented 10 years ago

According to http://chaijs.com/, assert and expect shouldn't be called as a function. This was breaking my initial Teaspoon installation. I also updated https://github.com/modeset/teaspoon/wiki/Quick-Start-Walkthrough to reflect updated chai expect syntax (to.equal rather than toBe). Hope that helps!

jejacks0n commented 10 years ago

Thanks for the commit.

Can you roll back your edits to the wiki though.. the page you edited specifically says it's for Jasmine, not mocha.. if you want to create a second copy for mocha, that would be cool though.

tkriplean commented 10 years ago

You're right, my fault. I reverted.