This commit is contained in:
r888888888
2014-03-18 13:03:38 -07:00
parent 71e3b1f928
commit c228b5d855
2 changed files with 38 additions and 12 deletions

View File

@@ -185,7 +185,9 @@ class ArtistTest < ActiveSupport::TestCase
assert_difference("ArtistVersion.count") do
artist.other_names = "xxx"
artist.save
Timecop.travel(1.day.from_now) do
artist.save
end
end
first_version = ArtistVersion.first