Skip to content

Commit

Permalink
Turn on deprecation warnings in Ruby 2.7.2+
Browse files Browse the repository at this point in the history
Ruby 2.7.2 disables deprecation warnings by default, so we turn them on
in tests, where it's important to know about them.
  • Loading branch information
janko committed Oct 3, 2020
1 parent 8535775 commit 2708936
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Warning[:deprecated] = true

require "bundler/setup"

if ENV["COVERAGE"]
Expand Down

0 comments on commit 2708936

Please sign in to comment.