1
0
Fork 0
mirror of https://github.com/drapergem/draper synced 2023-03-27 23:21:17 -04:00

Update note about Spork usage

Readme suggested a deprecated path for requiring rspec_integration with Spork
This commit is contained in:
Pete B 2012-07-30 17:59:47 -03:00
parent 7248ea235c
commit 96a9ba0a2d

View file

@ -250,7 +250,7 @@ By default, specs in `spec/decorators` will be tagged as `type => :decorator`. A
If your decorator specs live somewhere else, which they shouldn't, make sure to tag them with `type => :decorator`. If you don't tag them, Draper's helpers won't be available to your decorator while testing.
Note: If you're using Spork, you need to `require 'draper/rspec_integration'` in your Spork.prefork block.
Note: If you're using Spork, you need to `require 'draper/test/rspec_integration'` in your Spork.prefork block.
## Possible Decoration Methods