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:
parent
7248ea235c
commit
96a9ba0a2d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue