Skip to content
Browse files

Merge pull request #76 from Shopify/rspec-readme

Add missing configuration to README
  • Loading branch information...
2 parents e9f9c3f + bf2ffe6 commit 419a0faf86a05802e16bde3f70af2b2b502f04bc @haeky haeky committed
Showing with 4 additions and 1 deletion.
  1. +4 −1 README.md
View
5 README.md
@@ -262,6 +262,10 @@ end
### RSpec
```ruby
+RSpec.configure do |config|
+ config.include StatsD::Instrument::Matchers
+end
+
RSpec.describe 'Matchers' do
context 'trigger_statsd_increment' do
it 'will pass if there is exactly one matching StatsD call' do
@@ -281,7 +285,6 @@ RSpec.describe 'Matchers' do
end
end
end
-
```
## Notes

0 comments on commit 419a0fa

Please sign in to comment.
Something went wrong with that request. Please try again.