Sha256: 99b37c083ae7196c718d2f0ceb99f5719cdb2ea4a7cdfc2d2c555095e45daf42

Contents?: true

Size: 386 Bytes

Versions: 9

Compression:

Stored size: 386 Bytes

Contents

require 'spec_helper'

describe String do
  # Spec currently doesn't work
  #it "should convert to date" do
  #  "10-2010-01".to_date('%d-%Y-%m').should eql Date.parse("2010-01-10")
  #end

  # Spec currently doesn't work
  #it 'should handle rails date formats' do
  #  Date::DATE_FORMATS[:db] = '%m-%Y-%d'
  #  "01-2010-10".to_date(:db).should eql Date.parse("2010-01-10")
  #end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
timely-0.5.0 spec/string_spec.rb
timely-0.4.2 spec/string_spec.rb
timely-0.4.1 spec/string_spec.rb
timely-0.4.0 spec/string_spec.rb
timely-0.3.4 spec/string_spec.rb
timely-0.3.2 spec/string_spec.rb
timely-0.3.1 spec/string_spec.rb
timely-0.3.0 spec/string_spec.rb
timely-0.1.0 spec/string_spec.rb