File: spec_helper.rb

package info (click to toggle)
ruby-dry-equalizer 0.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 172 kB
  • sloc: ruby: 400; makefile: 4
file content (20 lines) | stat: -rw-r--r-- 350 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
if ENV['COVERAGE'] == 'true'
  require 'simplecov'
  SimpleCov.start do
    add_filter '/spec/'
  end
end

require 'dry-equalizer'

RSpec.configure do |config|
  config.raise_errors_for_deprecations!

  config.disable_monkey_patching!

  config.expect_with :rspec do |expect_with|
    expect_with.syntax = :expect
  end

  config.warnings = true
end