Spec failures in a positive timezone

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • 12_01_17
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Hi friend,

      You have two failing specs in Aussieland. If you set your timezone to a positive timezone, like +1000, you'll see these failing specs:

      1)
      'Mongoid::Extensions::Time::Conversions#get returns the local time' FAILED
      expected: 36000,
      got: -18000 (using ==)
      ./spec/unit/mongoid/extensions/time/conversions_spec.rb:37:

      2)
      'Mongoid::Document typecasting properly casts dates and times' FAILED
      expected: Sun, 04 Jul 1976,
      got: Sat, 03 Jul 1976 (using ==)
      ./spec/integration/mongoid/document_spec.rb:249:

      Finished in 0.998387 seconds

              Assignee:
              Unassigned
              Reporter:
              Ryan Bigg
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: