[rspec-users] Application-wide spec_helper method

Nick Hoffman nick at deadorange.com
Thu Aug 28 14:02:29 EDT 2008


On 2008-08-28, at 13:57, David Chelimsky wrote:
> On Thu, Aug 28, 2008 at 12:27 PM, Zach Dennis  
> <zach.dennis at gmail.com> wrote:
>> You can put it in a module and include it for model specs in  
>> spec_helper.rb
>>
>> Spec::Runner.configure do |config|
>> # ...
>> config.include DescribeModelAttributeSpecHelper, :type => :model
>> end
>
> What he said.

Thanks guys!


More information about the rspec-users mailing list