Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-2313

fix for TimeWithZone.demongoize(nil) and spec for Mongoid::Extensions::TimeWithZone

    • Type: Icon: Task Task
    • Resolution: Done
    • 3.0.5
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      • TimeWithZone.demongoize(nil) raise NoMethodError. I think should return nil.
      • spec/mongoid/extensions/time_with_zone_spec.rb was almost identical with time_spec.rb. Maybe it was copied from time_spec.rb and neglected, doesn't it?

      Thanks,

            Assignee:
            durran Durran Jordan
            Reporter:
            nagachika nagachika
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: