Readme.md in mocha_rails-0.0.4 vs Readme.md in mocha_rails-0.0.5
- old
+ new
@@ -1,9 +1,11 @@
# MochaRails
MochaRails integrates the [Mocha](http://visionmedia.github.com/mocha/) JavaScript test framework with the Rails (>= 3.1) Asset Pipeline.
+**Note:** This project is modeled on [Jasminerice](https://github.com/bradphelan/jasminerice) and is fairly simple. If you want more features, please consider [Konacha](https://github.com/jfirebaugh/konacha), which provides a sandboxed server running on another port, a command-line task, fixtures, transactions, and other goodies. I will continue to maintain and upgrade MochaRails, however, so if its smaller feature set fits your needs, by all means please use it.
+
## Description
MochaRails is a mountable Rails engine that serves a browser-based Mocha test suite, along with your development JavaScript files, via the Asset Pipeline.
It loads [Chai](http://chaijs.com) for assertions, although since Mocha is decoupled from the assertion library, you can
@@ -20,11 +22,11 @@
group :test, :development do
gem 'mocha_rails'
end
```
MochaRails includes a convenient install generator that adds a route to `config/routes.rb` and adds a `mocha-suite.js`
-Sprockets manifest file to either `spec/javascripts` or `test/javascripts`. The `mocha-suite.js` file contains no `require`
-directives other than , you must add the requires for your tests yourself. Avoid using `require_tree .` which has caused an
+Sprockets manifest file to either `spec/javascripts` or `test/javascripts`. The `mocha-suite.js` file does not contain a catch-all require
+directive, you must add the requires for your production and test paths yourself. Avoid using `require_tree .` which has caused an
[issue](https://github.com/quartzmo/mocha_rails/issues/7), instead use more specific
requires for each spec or test file, such as `//= require ./models/my-model-test`.
To install the required configuration, **you must run**: