Sha256: 255e3f48b746c628a85f493b0ccb909b6d77b58862c429658391044211aa355c
Contents?: true
Size: 263 Bytes
Versions: 24
Compression:
Stored size: 263 Bytes
Contents
require File.dirname(__FILE__) + '/base' describe Fixnum do before do @num = 2 end it "counts kb" do @num.kb.should == 2*1024 end it "counts mb" do @num.mb.should == 2*1024*1024 end it "counts gb" do @num.gb.should == 2*1024*1024*1024 end end
Version data entries
24 entries across 24 versions & 4 rubygems