spec/support/shared_contexts/shared_precision.rb in influxer-1.1.6 vs spec/support/shared_contexts/shared_precision.rb in influxer-1.2.0
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
shared_context "precision:seconds", precision: :s do
around do |ex|
old_precision = Influxer.config.time_precision
- Influxer.config.time_precision = 's'
+ Influxer.config.time_precision = "s"
ex.run
Influxer.config.time_precision = old_precision
end
end