Fix user removal spec
This commit is contained in:
parent
1adb4837ef
commit
77951c4657
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue