Skip to content

Commit

Permalink
add configuration info to README
Browse files Browse the repository at this point in the history
  • Loading branch information
markburns authored Dec 24, 2023
1 parent 79cb94a commit 32a2535
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,15 @@ If bundler is not being used to manage dependencies, install the gem by executin
require 'interactify/rspec/matchers'

Interactify.configure do |config|
config.root = Rails.root
config.root = Rails.root '/app'
end

Interactify.on_contract_breach do |context, attrs|
# maybe add context to Sentry or Honeybadger etc here
end

Interactify.before_raise do |exception|
# maybe add context to Sentry or Honeybadger etc here
end
```

Expand Down

0 comments on commit 32a2535

Please sign in to comment.