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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • 3.0.5
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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 Jordan
            Reporter:
            nagachika
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: