Skip to content

Commit

Permalink
Remove timecop monkeypatch (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlarraz authored Feb 11, 2021
1 parent 870abec commit e45ba09
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,6 @@
Warning[:deprecated] = true
end

# Delete once Timecop fixes Ruby 3.1 support
Time.class_eval do
class << self
ruby2_keywords :new if Module.private_method_defined?(:ruby2_keywords)
end
end

RSpec.configure do |config|
config.run_all_when_everything_filtered = true
config.filter_run :focus
Expand Down

0 comments on commit e45ba09

Please sign in to comment.