Sha256: 65f53d35309b880f333b5aa6781e6040840103b7be4de7fac53f371e74952cb9
Contents?: true
Size: 325 Bytes
Versions: 1
Compression:
Stored size: 325 Bytes
Contents
require File.join(File.dirname(File.dirname(File.dirname(__FILE__))), "spec_helper") include TwitterCldr::Formatters describe PercentFormatter do before(:each) do @formatter = PercentFormatter.new(:locale => :da) end it "should format the number correctly" do @formatter.format(12).should == "12 %" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
twitter_cldr-1.0.0 | spec/formatters/numbers/percent_formatter_spec.rb |