Skip to content

Commit

Permalink
test: update date relative test
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Feb 28, 2021
1 parent 00cbac8 commit 31f859c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module ViewDomain
created_at: created_at
)
end
let(:created_at) { (Date.today - 1).to_datetime }
let(:created_at) { DateTime.now - 1 }
let(:environment) { instance_double("PactBroker::Deployments::Environment", name: "test", display_name: "Test") }

its(:environment_name) { is_expected.to eq "test" }
Expand Down

0 comments on commit 31f859c

Please sign in to comment.