factory_girl-cache 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +6 -0
- data/lib/factory_girl-cache/version.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
|
@@ -44,6 +44,12 @@ Then:
|
|
|
44
44
|
|
|
45
45
|
### Usage
|
|
46
46
|
|
|
47
|
+
#### Require
|
|
48
|
+
|
|
49
|
+
You may need to add this to the top of the test or factories.rb or wherever you are going to use it:
|
|
50
|
+
|
|
51
|
+
require 'factory_girl-cache'
|
|
52
|
+
|
|
47
53
|
#### Be Sure to Clear Cache After Every Use
|
|
48
54
|
|
|
49
55
|
In your tests, be sure that the cache is cleared after anything that uses it is done, otherwise it probably will eventually pollute other tests if you are not careful!
|