Sha256: 75b9b627f40bcb422081388b9d25aa11a45525974c7fef9d3f12d059c1cc9d8b
Contents?: true
Size: 344 Bytes
Versions: 1
Compression:
Stored size: 344 Bytes
Contents
# encoding: UTF-8 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.1 | spec/formatters/numbers/percent_formatter_spec.rb |