{"action":"closed","issue":{"url":"https://api.github.com/repos/stympy/faker/issues/529","repository_url":"https://api.github.com/repos/stympy/faker","labels_url":"https://api.github.com/repos/stympy/faker/issues/529/labels{/name}","comments_url":"https://api.github.com/repos/stympy/faker/issues/529/comments","events_url":"https://api.github.com/repos/stympy/faker/issues/529/events","html_url":"https://github.com/stympy/faker/issues/529","id":142506481,"number":529,"title":"Faker::Time failing tests intermittently","user":{"login":"Kiwwa","id":3986174,"avatar_url":"https://avatars.githubusercontent.com/u/3986174?v=3","gravatar_id":"","url":"https://api.github.com/users/Kiwwa","html_url":"https://github.com/Kiwwa","followers_url":"https://api.github.com/users/Kiwwa/followers","following_url":"https://api.github.com/users/Kiwwa/following{/other_user}","gists_url":"https://api.github.com/users/Kiwwa/gists{/gist_id}","starred_url":"https://api.github.com/users/Kiwwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kiwwa/subscriptions","organizations_url":"https://api.github.com/users/Kiwwa/orgs","repos_url":"https://api.github.com/users/Kiwwa/repos","events_url":"https://api.github.com/users/Kiwwa/events{/privacy}","received_events_url":"https://api.github.com/users/Kiwwa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-22T00:06:18Z","updated_at":"2016-04-07T15:13:00Z","closed_at":"2016-04-07T15:13:00Z","body":"On a fresh fetch from master, approximately 75% of the time one test within `test_faker_time.rb` fails;\r\n\r\nHere is the failure;\r\n```\r\n===============================================================================\r\nFailure:\r\n  \"5\" expected to be included in Faker::Time::TIME_RANGES[:morning] range.\r\n  <false> is not true.\r\ntest_time_period(TestFakerTime)\r\n/Users/blah/Code/forks/faker/test/test_faker_time.rb:89:in `block (2 levels) in test_time_period'\r\n/Users/blah/Code/forks/faker/test/test_faker_time.rb:88:in `each'\r\n/Users/blah/Code/forks/faker/test/test_faker_time.rb:88:in `block in test_time_period'\r\n/Users/blah/Code/forks/faker/test/test_faker_time.rb:80:in `times'\r\n/Users/blah/Code/forks/faker/test/test_faker_time.rb:80:in `test_time_period'\r\n     77:     from = Date.today\r\n     78:     to   = Date.today + 15\r\n     79: \r\n  => 80:     100.times do\r\n     81:       period          = @time_ranges.keys.to_a.sample\r\n     82:       period_range    = @time_ranges[period]\r\n     83: \r\n===============================================================================\r\n```\r\n\r\nI'm happy to attempt to fix the issue, can I poke around in this code?"}}