Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v0.6.5
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (15 sloc) 0.263 kb
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
Jump to Line
Something went wrong with that request. Please try again.