jfirebaugh / konacha

Test your Rails application's JavaScript with the mocha test framework and chai assertion library
Other
1.05k stars 117 forks source link

How do I use Konacha when testing gemified javascript #210

Closed JohnSmall closed 9 years ago

JohnSmall commented 9 years ago

I've created a nice little Coffeescript class with full Konacha tests. Now I want to turn it into a gem so I can easily use it in other projects and other people can also use it. But..

When I create a gem and add Konacha as a development dependency then I don't see the rake tasks added to the list of tasks, so I can't run the tests.

How can I use Konacha when testing javascript/coffeescript in a gem?

jfirebaugh commented 9 years ago

Does https://github.com/jfirebaugh/konacha/issues/46#issuecomment-6818549 help?

JohnSmall commented 9 years ago

That looks like a complete answer. I'll check it out, thanks