Sha256: 506aedb538f3dbad304e2bbcb1958046a31b1b68dfca9ba50b589eba0d0f65d4
Contents?: true
Size: 461 Bytes
Versions: 39
Compression:
Stored size: 461 Bytes
Contents
require 'spec_helper' require 'cucumber/formatter/duration' module Cucumber module Formatter describe Duration do include Duration it "should format ms" do format_duration(0.002103).should == '0m0.002s' end it "should format m" do format_duration(61.002503).should == '1m1.003s' end it "should format h" do format_duration(3661.002503).should == '61m1.003s' end end end end
Version data entries
39 entries across 37 versions & 9 rubygems