Sha256: 19ce072bf0c8281874f5e525adc27b555e104c29604b984ffaa397f1aeff3db1
Contents?: true
Size: 341 Bytes
Versions: 2
Compression:
Stored size: 341 Bytes
Contents
require File.expand_path('../../../shared/fixtures', __FILE__) require 'jactive_support/java_ext/sql_date/conversions' describe "java::sql::Date#to_formatted_s" do it "formats using locale format" do setup_date_translations date = java::sql::Date.new(1192140000000) date.to_formatted_s(:i18n).should == '12/10/2007' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jactive_support-3.0.0 | spec/java_ext/sql_date/to_formatted_s_spec.rb |
jactive_support-3.0.0.pre2 | spec/java_ext/sql_date/to_formatted_s_spec.rb |