Sinon.js for Rails
sinon.js via asset pipeline
Installation
Add this line to your application's Gemfile:
group :test, :development do
gem 'sinon-rails'
end
And then execute:
$ bundle
Add this line to your test manifest file:
//=require sinon
Or directly include at /assets/sinon.js
Usage
Read about sinon.js here.
Contributing
sinon-rails maintained by Travis Jeffery
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request