Skip to content

Commit

Permalink
Merge pull request #49 from jrester/fix_spec
Browse files Browse the repository at this point in the history
Fix test failing because of wrong time
  • Loading branch information
taylorfinnell authored Apr 29, 2020
2 parents defb7ae + 45194dc commit da46c62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/awscr-signer/signers/v4_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module Awscr
module Signers
describe V4 do
describe "#sign" do
time = Time.local(2015, 1, 1)
time = Time.unix(1420070400)

it "adds content-sha256 header by default" do
with_time_freeze(time) do
Expand Down

0 comments on commit da46c62

Please sign in to comment.