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

@@ -71,7 +71,7 @@ class ArtistCommentaryTest < ActiveSupport::TestCase
end
should "create a new version if outside merge window" do
travel_to(2.hours.from_now) do
travel(2.hours) do
@artcomm.update(original_title: "bar")
assert_equal(2, @post.artist_commentary.versions.size)