Fix user removal spec

This commit is contained in:
Benjamin Neff 2017-08-06 20:52:25 +02:00
parent 1adb4837ef
commit 77951c4657
No known key found for this signature in database
GPG key ID: 971464C3F1A90194

View file

@ -1078,7 +1078,7 @@ describe User, :type => :model do
end
it "#flags user for removal" do
remove_at = Time.now+5.days
remove_at = Time.now.change(usec: 0).utc + 5.days
@user.flag_for_removal(remove_at)
expect(@user.remove_after).to eq(remove_at)
end