File: deprecation.rb

package info (click to toggle)
ruby-factory-bot 6.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,372 kB
  • sloc: ruby: 7,827; makefile: 6
file content (9 lines) | stat: -rw-r--r-- 230 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
require "active_support"

RSpec.configure do |config|
  config.around :example, silence_deprecation: true do |example|
    with_temporary_assignment(FactoryBot::Deprecation, :silenced, true) do
      example.run
    end
  end
end