README.md in fakeredis-0.2.2 vs README.md in fakeredis-0.3.0
- old
+ new
@@ -28,12 +28,27 @@
=> "bar"
Read [redis-rb](https://github.com/ezmobius/redis-rb) documentation and
[Redis](http://redis.io) homepage for more info about commands
+## Usage with RSpec
+Require this either in your Gemfile or in RSpec's support scripts. So either:
+
+ # Gemfile
+ group :test do
+ gem "rspec"
+ gem "fakeredis", :require => "fakeredis/rspec"
+ end
+
+Or:
+
+ # spec/support/fakeredis.rb
+ require 'fakeredis/rspec'
+
## Acknowledgements
+* [dim](https://github.com/dim)
* [czarneckid](https://github.com/czarneckid)
* [obrie](https://github.com/obrie)
* [Travis-CI](http://travis-ci.org/) (Travis-CI also uses Fakeredis in its tests!!!)