Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing Spec in a specific timezone #1440

Open
klobuczek opened this issue Oct 26, 2017 · 1 comment
Open

Failing Spec in a specific timezone #1440

klobuczek opened this issue Oct 26, 2017 · 1 comment

Comments

@klobuczek
Copy link
Member

Failed on Oct 26, 2017 at 23:00 in Istanbul:

heinrich@berlin:~/mck/neo4j$ rspec ./spec/e2e/active_model_spec.rb:605
Run options:
include {:locations=>{"./spec/e2e/active_model_spec.rb"=>[605]}}
exclude {:api=>#Proc:./spec/spec_helper.rb:393}
F

Failures:

  1. Neo4j::ActiveNode basic persistence multiparameter attributes Time converts to Time
    Failure/Error: expect(person.time.hour).to eq expected_hour

    expected: 6
    got: 7

    (compared using ==)

    ./spec/e2e/active_model_spec.rb:608:in `block (5 levels) in <top (required)>'

Finished in 0.12744 seconds (files took 1.15 seconds to load)
1 example, 1 failure

Failed examples:

rspec ./spec/e2e/active_model_spec.rb:605 # Neo4j::ActiveNode basic persistence multiparameter attributes Time converts to Time

Coverage report generated for RSpec to /Users/heinrich/mck/neo4j/coverage. 2442 / 5065 LOC (48.21%) covered.

Additional information which could be helpful if relevant to your issue:

Code example (inline, gist, or repo)

Runtime information:

Neo4j database version:
neo4j gem version:
neo4j-core gem version:

@klobuczek
Copy link
Member Author

Sorry for this ugly issue report, but didn't want to lose it. Pretty much the spec won't work in countries that do not observe DST.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant