tests: drop timecop gem.

This commit is contained in:
evazion
2019-08-18 03:50:43 -05:00
parent b15fd6d017
commit 27a118dfc8
24 changed files with 38 additions and 42 deletions

View File

@@ -76,10 +76,10 @@ class NotesControllerTest < ActionDispatch::IntegrationTest
context "revert action" do
setup do
as_user do
travel_to(1.day.from_now) do
travel(1.day) do
@note.update(:body => "111")
end
travel_to(2.days.from_now) do
travel(2.days) do
@note.update(:body => "222")
end
end