We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa7a7f3 commit eb65fcdCopy full SHA for eb65fcd
spec/spec_helper.rb
@@ -36,6 +36,11 @@ def self.run_all(reporter = nil)
36
end
37
38
39
+# This behaviour will become the default in Rails 8, for now it silences a deprecation
40
+if ActiveSupport.respond_to?(:to_time_preserves_timezone)
41
+ ActiveSupport.to_time_preserves_timezone = true
42
+end
43
+
44
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
45
RSpec.configure do |config|
46
# Bring in the failure matchers from rspec-expectations
0 commit comments