[rspec-users] Application-wide spec_helper method

David Chelimsky dchelimsky at gmail.com
Thu Aug 28 08:02:39 EDT 2008

On Wed, Aug 27, 2008 at 2:38 PM, Nick Hoffman <nick at deadorange.com> wrote:
> If a helper method can be used for multiple model specs, obviously it should
> not be placed within a specific model's spec helper file. Is there a
> recommended file in which to put such a method? Maybe
> spec/helpers/application_helper_spec.rb ?

This is a very confusing question. Model's don't typically get
individual spec helper files, so I'm not sure what you're getting at.
Can you give an example?

More information about the rspec-users mailing list