1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #29907 from deivid-rodriguez/fix_flaky_message_verifier_test

Fix test failure in message verifier tests
This commit is contained in:
Kasper Timm Hansen 2017-07-24 12:49:30 +02:00 committed by GitHub
commit b5ba8d715a

View file

@ -19,7 +19,7 @@ class MessageVerifierTest < ActiveSupport::TestCase
def setup
@verifier = ActiveSupport::MessageVerifier.new("Hey, I'm a secret!")
@data = { some: "data", now: Time.local(2010) }
@data = { some: "data", now: Time.utc(2010) }
end
def test_valid_message