1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00
thoughtbot--shoulda-matchers/spec/report_warnings.rb
Elliot Winkler 412ea1f936 Use warnings_logger instead of warnings_spy
`warnings_spy` was a little library I wrote to report warnings that came
up during test runs and fail the CI build. A while back I extracted it
to `warnings_logger`, so the version that exists here is obsolete.
2020-08-23 22:58:51 -06:00

8 lines
203 B
Ruby

require 'warnings_logger'
WarningsLogger.configure do |config|
config.project_name = 'shoulda-matchers'
config.project_directory = Pathname.new('..').expand_path(__dir__)
end
WarningsLogger.enable