Sha256: 44ade35a573aee93ee103af40856e9e172842f075957067ecb9c0349a46d52a8
Contents?: true
Size: 269 Bytes
Versions: 1
Compression:
Stored size: 269 Bytes
Contents
require_relative "spec_helper" describe AmountFormatter do it "formats numbers" do AmountFormatter.format(12345.12, :precision => 2, :seperator => ",", :delimiter => ".").should eq "12.345,12" AmountFormatter.format(12345.12).should eq "12,345.12" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
amount_formatter-0.0.0 | spec/amount_formatter_spec.rb |