Sha256: 1c13c24b79ad32f0f4870702bda650fa76ce5675d3bbc60a88a32053c4103c8a

Contents?: true

Size: 560 Bytes

Versions: 10

Compression:

Stored size: 560 Bytes

Contents

  #  _____         _
  # |_   _|__  ___| |_
  #   | |/ _ \/ __| __|
  #   | |  __/\__ \ |
  #   |_|\___||___/\__|
  #
  # for lib/facets/time/change.rb
  #
  # Extracted Mon Sep 03 16:23:07 -0700 2007
  # w/ Test Extraction Ratchet
  #

 require 'facets/time/change.rb'



  require 'test/unit'
  require 'time'

  class TestTimeChange < Test::Unit::TestCase

    def test_change
      t = Time.parse('4/20/2006 15:37')
      n = Time.now
      n = n.change( :month=>4, :day=>20, :hour=>15, :min=>37, :year=>2006 )
      assert_equal( t, n )
    end

  end



Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
facets-2.0.1 test/unit/time/test_change.rb
facets-2.0.0 test/unit/time/test_change.rb
facets-2.0.2 test/unit/time/test_change.rb
facets-2.0.3 test/unit/time/test_change.rb
facets-2.0.4 test/unit/time/test_change.rb
facets-2.0.5 test/unit/time/test_change.rb
facets-2.1.0 test/unit/time/test_change.rb
facets-2.1.1 test/unit/time/test_change.rb
facets-2.1.2 test/unit/time/test_change.rb
facets-2.1.3 test/unit/time/test_change.rb