migrate Domain::Post::FaPost to aux table
This commit is contained in:
@@ -173,7 +173,7 @@ describe Domain::Fa::Job::ScanPostJob do
|
||||
expect do
|
||||
perform_now({ post: post })
|
||||
post.reload
|
||||
end.to not_change(post, :scanned_at)
|
||||
end.to change { post.scanned_at }.by_at_most(1.second)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user