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

Clarify that a gem is needed to define the JST method #214

Closed stevenchanin closed 9 years ago

stevenchanin commented 9 years ago

When going through the docs for Konacha, I thought I could just use .jst files without EJS if I didn't need the <% %> replacements. However, when I did that, I got error messages that the JST function wasn't defined.

This PR modifies the README to clarify that EJS (or an alternative) is required in order to make template based tests work.

Also, since the example is only using EJS for testing, I edited the gem include to limit it to development and test.

jfirebaugh commented 9 years ago

:+1: Thanks!