factory_girl-cache 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- 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!
|