spec/rails_helper.rb in normalizy-1.0.1 vs spec/rails_helper.rb in normalizy-1.1.0
- old
+ new
@@ -5,9 +5,5 @@
require 'active_record/railtie'
require 'normalizy'
require 'pry-byebug'
Dir[File.expand_path('support/**/*.rb', __dir__)].each { |file| require file }
-
-def offset_in_hours(time_zone)
- TZInfo::Timezone.get(time_zone).current_period.offset.utc_total_offset.to_f / 3600.0
-end