I developed a gem to be used inside the model by adding acts_as_gmappable and you can pass parameters in the declaration.
Now that I want to write tests using Rspec, I am stuck for all model related functions:
- check the correct execution of geocoding
- check I create the correct json from all database entries
- etc.
I know how to do this in a Rails application, but definitely not for the gem. Any track?
source share