Created
April 29, 2015 14:32
-
-
Save Davidslv/0f0ae7d6a08ec05f1725 to your computer and use it in GitHub Desktop.
Having fun with times
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Failure/Error: expect(resource_time.to_time).to eq Time.now | |
expected: 2015-04-29 15:23:34 +0100 | |
got: 2015-04-29 15:23:34 +0100 | |
# Solution: | |
expect(resource_time.to_s).to eq Time.now.utc.to_s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment