Sha256: c35afa031346634fc735f678052d6e6dff707f9a38774c0828118b92961d30f9
Contents?: true
Size: 387 Bytes
Versions: 12
Compression:
Stored size: 387 Bytes
Contents
require 'bigdecimal' module Helpers # Time used when testing timestamp def time_anchor Time.new(2015, 12, 15, 9, 30, 5.123, '+06:00') end def time_anchor_unix BigDecimal('1450150205.123') end def stub_loga loga = class_double(Loga).as_stubbed_const logger = instance_double(Logger) allow(loga).to receive(:logger).and_return(logger) loga end end
Version data entries
12 entries across 12 versions & 1 rubygems