I need to create some methods that are available both to my application (models, views and controllers) and to RSpec.
Specifically I need to create some path_helper
Haven't tried it, but this looks like an interesting approach to the problem: Adding rspec test for library module doesn't seem to pickup Expectations and Matchers
A model we often use when testing Modules is to include the module in either a class created for the test (inside the spec file) or included inside the spec itself.