Skip to content

Commit 32a2535

Browse files
authored
add configuration info to README
1 parent 79cb94a commit 32a2535

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,15 @@ If bundler is not being used to manage dependencies, install the gem by executin
306306
require 'interactify/rspec/matchers'
307307

308308
Interactify.configure do |config|
309-
config.root = Rails.root
309+
config.root = Rails.root '/app'
310+
end
311+
312+
Interactify.on_contract_breach do |context, attrs|
313+
# maybe add context to Sentry or Honeybadger etc here
314+
end
315+
316+
Interactify.before_raise do |exception|
317+
# maybe add context to Sentry or Honeybadger etc here
310318
end
311319
```
312320

0 commit comments

Comments
 (0)