No commit activity in last 3 years
No release in over 3 years
Full support for the Rails 3.1 asset pipeline when testing your coffeescript or javascript files using Gerbil
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0
 Project Readme

Gerbil::Rails

This Rails 3.1 engine will make it trivial for you to test your javascript files taking advantage of Rails 3.1's asset pipeline, and using the awesome Gerbil.

Installation

Include this gem in your Gemfile:

group :development, :test do
  gem "gerbil-rails"
end

Bundle it up, and run the included generator to set up the test structure:

$ bundle
$ script/rails generate gerbil:install

This will create a spec/javascripts directory, which includes a spec/javascripts/spec.js file. Now you can add specs in subdirectories of spec/javascripts.

Once that is done, start your server and head to http://localhost:3000/gerbil to see your specs running before you.

About

Brought to you by Nicolás Sanguinetti, thanks to the support of Cubox.

Thanks to Jasminerice for the inspiration :)