A gem to automate using GeoMock with Rails 3
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
vendor/assets/javascripts
.gitignore
LICENSE
README.md
Rakefile
geomock-rails.gemspec

README.md

geomock-rails

GeoMock! For Rails! So great.

This gem provides:

  • GeoMock v 1.0

Rails 3.1

For Rails 3.1 and greater, the files will be added to the asset pipeline and available for you to use. These two lines will be added to the file app/assets/javascripts/application.js by default:

//= require jquery

Installation

New Rails 3.1 apps include geomock-rails in the Gemfile by default.

Installation

In your Gemfile, add this line:

gem "geomock-rails"

Then, run bundle install. To invoke the generator, run:

rails generate geomock:install

You're done!