Sha256: 7026135f5e003f339dcd6d68954824c03aaa0c92847b1324a33254d126c43b04
Contents?: true
Size: 280 Bytes
Versions: 201
Compression:
Stored size: 280 Bytes
Contents
# encoding: utf-8 require "logstash/util/duration_formatter" require "spec_helper" describe LogStash::Util::DurationFormatter do let(:duration) { 3600 * 1000 } # in milliseconds it "returns a human format" do expect(subject.human_format(duration)).to eq("1h") end end
Version data entries
201 entries across 198 versions & 14 rubygems