Sha256: fe2385ced5b766a3e49f942981685854d4af75a2bdc431e55c8fc5c4e1b324dc

Contents?: true

Size: 193 Bytes

Versions: 6

Compression:

Stored size: 193 Bytes

Contents

require 'spec_helper'

describe Time do

  describe "#to_s" do
    it "uses a MySQL compliant format" do
      Time.gm(2000,"Jan",31).to_s.should == "2000-01-31 00:00:00 UTC"
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
squealer-2.1.1 spec/squealer/time_spec.rb
squealer-2.1.0 spec/squealer/time_spec.rb
squealer-1.2.0 spec/squealer/time_spec.rb
squealer-1.0.2 spec/squealer/time_spec.rb
squealer-1.0.1 spec/squealer/time_spec.rb
squealer-1.0.0 spec/squealer/time_spec.rb